0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::net::acceptor: Relax default flags.

This commit is contained in:
Jason Volk 2019-03-10 15:26:38 -07:00
parent a55c549e70
commit db30477e51

View file

@ -1511,16 +1511,16 @@ ircd::net::acceptor::configure(const json::object &opts)
if(opts.get<bool>("ssl_single_dh_use", false))
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;
if(opts.get<bool>("ssl_no_sslv3", true))
if(opts.get<bool>("ssl_no_sslv3", false))
flags |= ssl.no_sslv3;
if(opts.get<bool>("ssl_no_tlsv1", true))
if(opts.get<bool>("ssl_no_tlsv1", false))
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;
if(opts.get<bool>("ssl_no_tlsv1_2", false))