diff options
author | jsing <> | 2014-05-31 10:49:28 +0000 |
---|---|---|
committer | jsing <> | 2014-05-31 10:49:28 +0000 |
commit | cc0b160e462358c219bef48df27be2e816b65194 (patch) | |
tree | 32a374445fa15f520b06510f07c011a6234df599 /src/lib/libssl/s23_clnt.c | |
parent | 57e924c96320c9b14de6078fc75984c949b073b2 (diff) | |
download | openbsd-cc0b160e462358c219bef48df27be2e816b65194.tar.gz openbsd-cc0b160e462358c219bef48df27be2e816b65194.tar.bz2 openbsd-cc0b160e462358c219bef48df27be2e816b65194.zip |
TLS would not be entirely functional without extensions, so unifdef
OPENSSL_NO_TLSEXT.
ok tedu@
Diffstat (limited to 'src/lib/libssl/s23_clnt.c')
-rw-r--r-- | src/lib/libssl/s23_clnt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/libssl/s23_clnt.c b/src/lib/libssl/s23_clnt.c index 5361d5bea8..16c30c083a 100644 --- a/src/lib/libssl/s23_clnt.c +++ b/src/lib/libssl/s23_clnt.c | |||
@@ -431,7 +431,6 @@ ssl23_client_hello(SSL *s) | |||
431 | /* Add the NULL method */ | 431 | /* Add the NULL method */ |
432 | *(p++) = 0; | 432 | *(p++) = 0; |
433 | 433 | ||
434 | #ifndef OPENSSL_NO_TLSEXT | ||
435 | /* TLS extensions*/ | 434 | /* TLS extensions*/ |
436 | if (ssl_prepare_clienthello_tlsext(s) <= 0) { | 435 | if (ssl_prepare_clienthello_tlsext(s) <= 0) { |
437 | SSLerr(SSL_F_SSL23_CLIENT_HELLO, | 436 | SSLerr(SSL_F_SSL23_CLIENT_HELLO, |
@@ -443,7 +442,6 @@ ssl23_client_hello(SSL *s) | |||
443 | SSLerr(SSL_F_SSL23_CLIENT_HELLO, ERR_R_INTERNAL_ERROR); | 442 | SSLerr(SSL_F_SSL23_CLIENT_HELLO, ERR_R_INTERNAL_ERROR); |
444 | return -1; | 443 | return -1; |
445 | } | 444 | } |
446 | #endif | ||
447 | 445 | ||
448 | l = p - d; | 446 | l = p - d; |
449 | 447 | ||