diff --git a/libircclient/src/ssl.c b/libircclient/src/ssl.c index 0638c9f..7f64d3e 100644 --- a/libircclient/src/ssl.c +++ b/libircclient/src/ssl.c @@ -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;