From: Rainer Jung Date: Wed, 10 Aug 2016 21:35:36 +0000 (+0000) Subject: Silence "defined but not used" compiler warnings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b159eedb33bf98399e65724aa8a812d415a19f;p=thirdparty%2Fapache%2Fhttpd.git Silence "defined but not used" compiler warnings when building against OpenSSL 0.9.8a. Backport of r1755874 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-openssl-1.1.0-compat@1755875 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 0067d904449..9df9c99252a 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