mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::net::acceptor: Relax default flags.
This commit is contained in:
parent
a55c549e70
commit
db30477e51
1 changed files with 4 additions and 4 deletions
|
@ -1511,16 +1511,16 @@ ircd::net::acceptor::configure(const json::object &opts)
|
||||||
if(opts.get<bool>("ssl_single_dh_use", false))
|
if(opts.get<bool>("ssl_single_dh_use", false))
|
||||||
flags |= ssl.single_dh_use;
|
flags |= ssl.single_dh_use;
|
||||||
|
|
||||||
if(opts.get<bool>("ssl_no_sslv2", true))
|
if(opts.get<bool>("ssl_no_sslv2", false))
|
||||||
flags |= ssl.no_sslv2;
|
flags |= ssl.no_sslv2;
|
||||||
|
|
||||||
if(opts.get<bool>("ssl_no_sslv3", true))
|
if(opts.get<bool>("ssl_no_sslv3", false))
|
||||||
flags |= ssl.no_sslv3;
|
flags |= ssl.no_sslv3;
|
||||||
|
|
||||||
if(opts.get<bool>("ssl_no_tlsv1", true))
|
if(opts.get<bool>("ssl_no_tlsv1", false))
|
||||||
flags |= ssl.no_tlsv1;
|
flags |= ssl.no_tlsv1;
|
||||||
|
|
||||||
if(opts.get<bool>("ssl_no_tlsv1_1", true))
|
if(opts.get<bool>("ssl_no_tlsv1_1", false))
|
||||||
flags |= ssl.no_tlsv1_1;
|
flags |= ssl.no_tlsv1_1;
|
||||||
|
|
||||||
if(opts.get<bool>("ssl_no_tlsv1_2", false))
|
if(opts.get<bool>("ssl_no_tlsv1_2", false))
|
||||||
|
|
Loading…
Reference in a new issue