summaryrefslogtreecommitdiffstats
path: root/ssl/t1_meth.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-04-24 16:05:27 +0200
committerMatt Caswell <matt@openssl.org>2015-05-16 10:20:52 +0200
commitd45ba43dab962bdc84158efc0cdddd5f5a08cf5e (patch)
treee79e390a6badf2ba24c3c973cbc62d7e65b14e4b /ssl/t1_meth.c
parentVersion negotiation rewrite doc updates (diff)
downloadopenssl-d45ba43dab962bdc84158efc0cdddd5f5a08cf5e.tar.xz
openssl-d45ba43dab962bdc84158efc0cdddd5f5a08cf5e.zip
Updates following review comments
Miscellaneous updates following review comments on the version negotiation rewrite patches. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'ssl/t1_meth.c')
-rw-r--r--ssl/t1_meth.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/t1_meth.c b/ssl/t1_meth.c
index 0726274ba3..044bac53f1 100644
--- a/ssl/t1_meth.c
+++ b/ssl/t1_meth.c
@@ -70,6 +70,11 @@ static const SSL_METHOD *tls1_get_method(int ver)
return TLSv1_1_method();
if (ver == TLS1_VERSION)
return TLSv1_method();
+#ifndef OPENSSL_NO_SSL3
+ if (ver == SSL3_VERSION)
+ return (SSLv3_method());
+ else
+#endif
return NULL;
}