From: Kurt Roeckx Date: Wed, 10 Dec 2014 12:38:57 +0000 (+0100) Subject: Allow using -SSLv2 again when setting Protocol in the config. X-Git-Tag: master-pre-reformat~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=995207bedcc58f2fa1bd7c460ee530b92c7dfbfe;p=openssl Allow using -SSLv2 again when setting Protocol in the config. RT#3625 Reviewed-by: Emilia Käsper --- diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c index 3785b4f78f..95ca88adfe 100644 --- a/ssl/ssl_conf.c +++ b/ssl/ssl_conf.c @@ -333,6 +333,7 @@ static int cmd_Protocol(SSL_CONF_CTX *cctx, const char *value) static const ssl_flag_tbl ssl_protocol_list[] = { SSL_FLAG_TBL_INV("ALL", SSL_OP_NO_SSL_MASK), + SSL_FLAG_TBL_INV("SSLv2", SSL_OP_NO_SSLv2), SSL_FLAG_TBL_INV("SSLv3", SSL_OP_NO_SSLv3), SSL_FLAG_TBL_INV("TLSv1", SSL_OP_NO_TLSv1), SSL_FLAG_TBL_INV("TLSv1.1", SSL_OP_NO_TLSv1_1),