From c989d5059d2965cbff0385ed6cdcd6c47e170919 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Thu, 7 Dec 2023 02:08:52 +0100 Subject: [PATCH] disabling no longer needed --- libircclient/src/ssl.c | 4 ---- 1 file changed, 4 deletions(-) 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;