Allow using -SSLv2 again when setting Protocol in the config.
[openssl.git] / ssl / ssl_conf.c
index 3785b4f..95ca88a 100644 (file)
@@ -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),