X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=blobdiff_plain;f=src%2Fssli_openssl.c;h=0f631d20276a2c1dc0cca6ae5a085c95cdc53e87;hp=2dd55ef8839bfe334c717c896305416543b4608f;hb=779660334a7291f4918e313a78ed48f4d3d6e0a5;hpb=c72ebd29f239793218f2248c3f8b48a7b3e0a541 diff --git a/src/ssli_openssl.c b/src/ssli_openssl.c index 2dd55ef..0f631d2 100644 --- a/src/ssli_openssl.c +++ b/src/ssli_openssl.c @@ -222,7 +222,9 @@ void SSLi_init(void) SSL_load_error_strings(); ERR_load_crypto_strings(); - context = SSL_CTX_new(TLSv1_2_server_method()); + context = SSL_CTX_new(SSLv23_server_method()); + SSL_CTX_set_options(context, SSL_OP_NO_SSLv2); + SSL_CTX_set_options(context, SSL_OP_NO_SSLv3); if (context == NULL) { ERR_print_errors_fp(stderr);