Use SSL3 so that it is easy to debug with wireshark
This commit is contained in:
parent
5d7e3896bd
commit
00bf5ceff4
@ -111,6 +111,10 @@ void Server::doServerSSLInit()
|
||||
fprintf(stderr, "Private key is invalid.\n");
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
// set weak protocol, so it is easy to debug with wireshark
|
||||
|
||||
SSL_CTX_set_options(_ctx, SSL_OP_NO_TLSv1_2 | SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1 | SSL_OP_ALL | SSL_OP_SINGLE_DH_USE );
|
||||
}
|
||||
|
||||
void Acceptor::operator()()
|
||||
|
Loading…
Reference in New Issue
Block a user