From e66deb6817b917497b9acfbbbdb41a892400052c Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Thu, 15 Nov 2007 13:32:16 +0000 Subject: Fix warnings. --- apps/s_client.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/s_client.c') diff --git a/apps/s_client.c b/apps/s_client.c index f444d27a9f..a4983c178f 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -181,7 +181,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; @@ -1453,6 +1455,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; @@ -1478,3 +1482,4 @@ static int ocsp_resp_cb(SSL *s, void *arg) OCSP_RESPONSE_free(rsp); return 1; } +#endif /* ndef OPENSSL_NO_TLSEXT */ -- cgit v1.2.3