1
0
Fork 0
mirror of git://git.psyced.org/git/psyclpc synced 2024-08-15 03:20:16 +00:00
This commit is contained in:
Philipp Hancke 2010-12-09 07:31:04 +01:00
parent a7880b5858
commit 88667a3092

View file

@ -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;