From: Rainer Jung Date: Wed, 10 Aug 2016 21:34:21 +0000 (+0000) Subject: Silence "defined but not used" compiler warnings X-Git-Tag: 2.5.0-alpha~1301 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83ed3dff9f9dcbcc6997927e07bde5de93e9c504;p=apache Silence "defined but not used" compiler warnings when building against OpenSSL 0.9.8a. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755874 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index d606aa3205..d7525bba8a 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -190,6 +190,7 @@ static int ssl_auth_compatible(modssl_auth_ctx_t *a1, return 1; } +#ifdef HAVE_TLSEXT static int ssl_ctx_compatible(modssl_ctx_t *ctx1, modssl_ctx_t *ctx2) { @@ -215,6 +216,7 @@ static int ssl_server_compatible(server_rec *s1, server_rec *s2) return 1; } +#endif /* * Post Read Request Handler