From: Rainer Jung Date: Wed, 10 Aug 2016 21:58:47 +0000 (+0000) Subject: Silence more "defined but not used" compiler X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3b8eb2f4344a1deb4eec10255d9e950398f4b7a;p=thirdparty%2Fapache%2Fhttpd.git Silence more "defined but not used" compiler warnings when building against OpenSSL 0.9.8a. Backport of r1755881 from trunk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-openssl-1.1.0-compat@1755882 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 9df9c99252a..7384b8721ec 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -114,6 +114,7 @@ static int has_buffered_data(request_rec *r) return result; } +#ifdef HAVE_TLSEXT static int ap_array_same_str_set(apr_array_header_t *s1, apr_array_header_t *s2) { int i; @@ -190,7 +191,6 @@ 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) {