mirror of
https://github.com/matrix-construct/construct
synced 2024-09-30 04:38:52 +02:00
ircd::net: Automate ecdh selections by default.
This commit is contained in:
parent
b4fabaf14f
commit
d658729d07
1 changed files with 5 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue