From: Rainer Jung Date: Wed, 10 Aug 2016 21:57:14 +0000 (+0000) Subject: Silence more "defined but not used" compiler X-Git-Tag: 2.5.0-alpha~1300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6517fdf5e4a16a1e859e110012397c0faf45831;p=apache Silence more "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@1755881 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index d7525bba8a..fc04b8a000 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) {