]> granicus.if.org Git - apache/commitdiff
Silence more "defined but not used" compiler
authorRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 21:57:14 +0000 (21:57 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 21:57:14 +0000 (21:57 +0000)
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

modules/ssl/ssl_engine_kernel.c

index d7525bba8a33be320c4a242af2f1f6e9a11dda92..fc04b8a0005704b42cd2b9831817199db05ca39e 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) 
 {