disabling no longer needed
This commit is contained in:
parent
edc713c3bf
commit
c989d5059d
@ -130,10 +130,6 @@ static int ssl_init_context( irc_session_t * session )
|
|||||||
if ( !ssl_context )
|
if ( !ssl_context )
|
||||||
return LIBIRC_ERR_SSL_INIT_FAILED;
|
return LIBIRC_ERR_SSL_INIT_FAILED;
|
||||||
|
|
||||||
// Disable SSLv2 as it is unsecure
|
|
||||||
if ( (SSL_CTX_set_options( ssl_context, SSL_OP_NO_SSLv2) & SSL_OP_NO_SSLv2) == 0 )
|
|
||||||
return LIBIRC_ERR_SSL_INIT_FAILED;
|
|
||||||
|
|
||||||
// Enable only strong ciphers
|
// Enable only strong ciphers
|
||||||
if ( SSL_CTX_set_cipher_list( ssl_context, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH" ) != 1 )
|
if ( SSL_CTX_set_cipher_list( ssl_context, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH" ) != 1 )
|
||||||
return LIBIRC_ERR_SSL_INIT_FAILED;
|
return LIBIRC_ERR_SSL_INIT_FAILED;
|
||||||
|
Loading…
Reference in New Issue
Block a user