0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-29 07:18:20 +02:00

ircd::net: Automate ecdh selections by default.

This commit is contained in:
Jason Volk 2019-03-10 16:24:18 -07:00
parent b4fabaf14f
commit d658729d07

View file

@ -1638,6 +1638,11 @@ ircd::net::acceptor::configure(const json::object &opts)
size(buf)
};
}
else
{
assert(ssl.native_handle());
openssl::set_ecdh_auto(*ssl.native_handle(), true);
}
//TODO: XXX
ssl.set_password_callback([this]