]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Silence more "defined but not used" compiler
authorRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 21:58:47 +0000 (21:58 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 21:58:47 +0000 (21:58 +0000)
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

modules/ssl/ssl_engine_kernel.c

index 9df9c99252a6516c4c1d94e7fd023e61d772339e..7384b8721ec6041d1947caf78be610fffbf92124 100644 (file)
@@ -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) 
 {