disabling no longer needed

This commit is contained in:
Green Sky 2023-12-07 02:08:52 +01:00
parent edc713c3bf
commit c989d5059d
No known key found for this signature in database
1 changed files with 0 additions and 4 deletions

View File

@ -130,10 +130,6 @@ static int ssl_init_context( irc_session_t * session )
if ( !ssl_context )
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
if ( SSL_CTX_set_cipher_list( ssl_context, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH" ) != 1 )
return LIBIRC_ERR_SSL_INIT_FAILED;