summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-11-14 05:03:19 +0100
committerRichard Levitte <levitte@openssl.org>2017-11-14 05:20:47 +0100
commit046c5f73535c8a46af940c063e00dfa6cce73f18 (patch)
tree497e9224c1edeee51764e5cdf082b9dd313d85c7
parentb2921cf7f2468ecf9932527070cd30b3f5cbb467 (diff)
Don't use SSLv3_client_method internally with no-ssl3
Fixes #4734 #4649 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4735)
-rw-r--r--ssl/s23_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c
index 05b892b723..add8c9916c 100644
--- a/ssl/s23_clnt.c
+++ b/ssl/s23_clnt.c
@@ -757,7 +757,7 @@ static int ssl23_get_server_hello(SSL *s)
s->version = TLS1_VERSION;
s->method = TLSv1_client_method();
break;
-#ifndef OPENSSL_NO_SSL3_METHOD
+#ifndef OPENSSL_NO_SSL3
case SSL3_VERSION:
s->version = SSL3_VERSION;
s->method = SSLv3_client_method();