mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
+
This commit is contained in:
parent
a7880b5858
commit
88667a3092
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue