mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::net::acceptor: Remove any default DH params when nothing supplied in config.
This commit is contained in:
parent
610862903e
commit
a4f02e4e4a
1 changed files with 0 additions and 14 deletions
14
ircd/net.cc
14
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]
|
||||
|
|
Loading…
Reference in a new issue