|
|
@@ -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()()
|
|
|
|