From cd8256521839a0d0879b9fe0cb046a621b2b2ddb Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Wed, 1 Apr 2015 08:34:31 +0000 Subject: [PATCH] * ssl_array_index is only used by code inside the HAVE_TLS_ALPN. So silence warnings if don't have it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1670578 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index fe3302a322..f6429801fa 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -2162,6 +2162,7 @@ int ssl_callback_SessionTicket(SSL *ssl, } #endif /* HAVE_TLS_SESSION_TICKETS */ +#ifdef HAVE_TLS_ALPN static int ssl_array_index(apr_array_header_t *array, const char *s) { @@ -2175,7 +2176,6 @@ static int ssl_array_index(apr_array_header_t *array, return -1; } -#ifdef HAVE_TLS_ALPN /* * Compare to ALPN protocol proposal. Result is similar to strcmp(): * 0 gives same precedence, >0 means proto1 is prefered. -- 2.40.0