From 72f77b6d22d7bb4fc2bb2508e82c67533b18b9ad Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 29 Aug 2018 16:17:25 -0700 Subject: [PATCH] modules/s_keys: Disable dhparam generation here. --- modules/s_keys.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/s_keys.cc b/modules/s_keys.cc index 504118957..3a056abc5 100644 --- a/modules/s_keys.cc +++ b/modules/s_keys.cc @@ -85,11 +85,6 @@ init_my_tls_crt() fs::make_path(public_key_path_parts) }; - const std::string dhparam_file - { - fs::make_path(dhparam_path_parts) - }; - const std::string cert_file { fs::make_path(certificate_path_parts) @@ -106,6 +101,12 @@ init_my_tls_crt() openssl::genrsa(private_key_file, public_key_file); } +/* + const std::string dhparam_file + { + fs::make_path(dhparam_path_parts) + }; + if(!fs::exists(dhparam_file)) { log::warning @@ -117,6 +118,7 @@ init_my_tls_crt() openssl::gendh(dhparam_file); } +*/ const json::object config{}; if(!fs::exists(cert_file))