aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-12-14 09:38:41 -0500
committerJack Lloyd <[email protected]>2020-12-14 11:26:48 -0500
commit37a90e6c52847ebac0a609d63323d78d3ed4436b (patch)
tree1d3001331a75bb9dfa005bfdc29b7b5a6d62308c /src/cli
parent5ff7ca4850de5e10697e03cfce5a519faef23261 (diff)
Fix constructors
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/tls_http_server.cpp2
-rw-r--r--src/cli/tls_proxy.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/tls_http_server.cpp b/src/cli/tls_http_server.cpp
index aaf740fcf..6ce30312f 100644
--- a/src/cli/tls_http_server.cpp
+++ b/src/cli/tls_http_server.cpp
@@ -528,7 +528,7 @@ class TLS_HTTP_Server final : public Command
const size_t num_threads = thread_count();
const size_t max_clients = get_arg_sz("max-clients");
- Basic_Credentials_Manager creds(rng(), server_crt, server_key);
+ Basic_Credentials_Manager creds(server_crt, server_key);
auto policy = load_tls_policy(get_arg("policy"));
diff --git a/src/cli/tls_proxy.cpp b/src/cli/tls_proxy.cpp
index bd96530c2..686c01ba8 100644
--- a/src/cli/tls_proxy.cpp
+++ b/src/cli/tls_proxy.cpp
@@ -475,7 +475,7 @@ class TLS_Proxy final : public Command
const size_t num_threads = thread_count();
const size_t max_clients = get_arg_sz("max-clients");
- Basic_Credentials_Manager creds(rng(), server_crt, server_key);
+ Basic_Credentials_Manager creds(server_crt, server_key);
auto policy = load_tls_policy(get_arg("policy"));