summaryrefslogtreecommitdiffstats
path: root/ssl/s3_srvr.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-02-09 19:38:47 +0100
committerAndy Polyakov <appro@openssl.org>2013-02-09 19:38:47 +0100
commitdb731da80268280ff7ff5e6465df2404ce502197 (patch)
treeba3b6b738058c2f8ee500d5fb5a83406d229f1a7 /ssl/s3_srvr.c
parent5864fd2061f43dc8f89b5755f19bd2a35dec636c (diff)
ssl/s3_[clnt|srvr].c: fix warning and linking error.
PR: 2979
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r--ssl/s3_srvr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index e49fc959c4..59ca04a0fd 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -1131,6 +1131,7 @@ int ssl3_get_client_hello(SSL *s)
* s->tmp.new_cipher - the new cipher to use.
*/
+#ifndef OPENSSL_NO_TLSEXT
/* Handles TLS extensions that we couldn't check earlier */
if (s->version >= SSL3_VERSION)
{
@@ -1140,6 +1141,7 @@ int ssl3_get_client_hello(SSL *s)
goto err;
}
}
+#endif
if (ret < 0) ret=1;
if (0)