From a4f02e4e4ac6ae2fd54b9ec5cd10902b09143ac8 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 10 Mar 2019 14:31:54 -0700 Subject: [PATCH] ircd::net::acceptor: Remove any default DH params when nothing supplied in config. --- ircd/net.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ircd/net.cc b/ircd/net.cc index f89b0920b..b169d0f8b 100644 --- a/ircd/net.cc +++ b/ircd/net.cc @@ -1638,20 +1638,6 @@ ircd::net::acceptor::configure(const json::object &opts) size(buf) }; } - else - { - const const_buffer &buf - { - openssl::rfc3526_dh_params_pem - }; - - ssl.use_tmp_dh(buf); - log::info - { - log, "%s using pre-supplied rfc3526 DH parameters.", - string(logheadbuf, *this) - }; - } //TODO: XXX ssl.set_password_callback([this]