]> granicus.if.org Git - apache/commitdiff
Silence "defined but not used" compiler warnings
authorRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 21:34:21 +0000 (21:34 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 21:34:21 +0000 (21:34 +0000)
when building against OpenSSL 0.9.8a.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755874 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_kernel.c

index d606aa3205be034f7c391a7b04ec598cf3c479f1..d7525bba8a33be320c4a242af2f1f6e9a11dda92 100644 (file)
@@ -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