summaryrefslogtreecommitdiffstats
path: root/ssl/s3_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r--ssl/s3_lib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index d670ff0ec0..51a4ec3e89 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -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. */