summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl/s23_clnt.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-31 10:49:28 +0000
committerjsing <jsing@openbsd.org>2014-05-31 10:49:28 +0000
commit1faa0e499708c894964780c27c8412b45faae6dd (patch)
treeba68e1397bfa16390078f07ba332cf537b4e9c96 /lib/libssl/src/ssl/s23_clnt.c
parentDelete the extraneous "return" statement at the end of a void function. (diff)
downloadwireguard-openbsd-1faa0e499708c894964780c27c8412b45faae6dd.tar.xz
wireguard-openbsd-1faa0e499708c894964780c27c8412b45faae6dd.zip
TLS would not be entirely functional without extensions, so unifdef
OPENSSL_NO_TLSEXT. ok tedu@
Diffstat (limited to 'lib/libssl/src/ssl/s23_clnt.c')
-rw-r--r--lib/libssl/src/ssl/s23_clnt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libssl/src/ssl/s23_clnt.c b/lib/libssl/src/ssl/s23_clnt.c
index 5361d5bea8f..16c30c083ab 100644
--- a/lib/libssl/src/ssl/s23_clnt.c
+++ b/lib/libssl/src/ssl/s23_clnt.c
@@ -431,7 +431,6 @@ ssl23_client_hello(SSL *s)
/* Add the NULL method */
*(p++) = 0;
-#ifndef OPENSSL_NO_TLSEXT
/* TLS extensions*/
if (ssl_prepare_clienthello_tlsext(s) <= 0) {
SSLerr(SSL_F_SSL23_CLIENT_HELLO,
@@ -443,7 +442,6 @@ ssl23_client_hello(SSL *s)
SSLerr(SSL_F_SSL23_CLIENT_HELLO, ERR_R_INTERNAL_ERROR);
return -1;
}
-#endif
l = p - d;