diff --git a/src/pkg-tls.c b/src/pkg-tls.c index c7ffe67..233cb47 100644 --- a/src/pkg-tls.c +++ b/src/pkg-tls.c @@ -450,7 +450,8 @@ tls_global_init (void) /* Avoid small subgroup attacks */ /* do not do SSLv2 */ - SSL_CTX_set_options(context, SSL_OP_SINGLE_DH_USE | SSL_OP_NO_SSLv2); + SSL_CTX_set_options(context, SSL_OP_SINGLE_DH_USE); + SSL_CTX_set_options(context, SSL_OP_NO_SSLv2); /* OpenSSL successfully initialised */ tls_available = MY_TRUE;