summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-09-03 12:29:57 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-09-03 12:29:57 +0000
commit0702150f53ae7a9afd61801a9e208aff07729024 (patch)
tree4469d570d2d92c1492a10392ffec1d6c560387e8 /apps
parenta0ee08151526089b069556cb555ce1ed3d33436e (diff)
Make no-tlsext compile.
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index f68553234d..776196ef08 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -205,7 +205,9 @@ static int c_showcerts=0;
static void sc_usage(void);
static void print_stuff(BIO *berr,SSL *con,int full);
+#ifndef OPENSSL_NO_TLSEXT
static int ocsp_resp_cb(SSL *s, void *arg);
+#endif
static BIO *bio_c_out=NULL;
static int c_quiet=0;
static int c_ign_eof=0;
@@ -1653,6 +1655,8 @@ static void print_stuff(BIO *bio, SSL *s, int full)
(void)BIO_flush(bio);
}
+#ifndef OPENSSL_NO_TLSEXT
+
static int ocsp_resp_cb(SSL *s, void *arg)
{
const unsigned char *p;
@@ -1678,3 +1682,5 @@ static int ocsp_resp_cb(SSL *s, void *arg)
OCSP_RESPONSE_free(rsp);
return 1;
}
+
+#endif