projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95aec44
)
Fix no-ssl3-method build
author
Kurt Roeckx
<kurt@roeckx.be>
Thu, 2 Nov 2017 17:53:16 +0000
(18:53 +0100)
committer
Kurt Roeckx
<kurt@roeckx.be>
Fri, 3 Nov 2017 14:19:05 +0000
(15:19 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #4649
ssl/s23_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/s23_clnt.c
b/ssl/s23_clnt.c
index 92f41dd549ad64d8e5d1601d0514c3b509afe8c7..05b892b7238725a9908eac315915d4164a8f15f2 100644
(file)
--- a/
ssl/s23_clnt.c
+++ b/
ssl/s23_clnt.c
@@
-757,10
+757,12
@@
static int ssl23_get_server_hello(SSL *s)
s->version = TLS1_VERSION;
s->method = TLSv1_client_method();
break;
+#ifndef OPENSSL_NO_SSL3_METHOD
case SSL3_VERSION:
s->version = SSL3_VERSION;
s->method = SSLv3_client_method();
break;
+#endif
}
SSLerr(SSL_F_SSL23_GET_SERVER_HELLO, SSL_R_UNSUPPORTED_PROTOCOL);
ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_PROTOCOL_VERSION);