Remove SSLv2 support
[openssl.git] / ssl / s3_lib.c
index d670ff0ec00ca71824742033abc89cccc7523ff1..51a4ec3e89bce6f3d8e86e924c4a8b3773fc9818 100644 (file)
@@ -3946,8 +3946,6 @@ long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg)
                                return s->version == TLS1_VERSION;
                        if (!(s->options & SSL_OP_NO_SSLv3))
                                return s->version == SSL3_VERSION;
-                       if (!(s->options & SSL_OP_NO_SSLv2))
-                               return s->version == SSL2_VERSION;
                        }
                return 0; /* Unexpected state; fail closed. */