summaryrefslogtreecommitdiffstats
path: root/ssl/t1_meth.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-04-24 15:05:27 +0100
committerMatt Caswell <matt@openssl.org>2015-05-16 09:20:52 +0100
commitd45ba43dab962bdc84158efc0cdddd5f5a08cf5e (patch)
treee79e390a6badf2ba24c3c973cbc62d7e65b14e4b /ssl/t1_meth.c
parenta27e81ee54112d8db40e409f45f1e9b88ccbf6b1 (diff)
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;
}