You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2016/02/10 20:35:34 UTC

svn commit: r1729700 - /httpd/httpd/trunk/modules/ssl/ssl_engine_io.c

Author: rpluem
Date: Wed Feb 10 19:35:34 2016
New Revision: 1729700

URL: http://svn.apache.org/viewvc?rev=1729700&view=rev
Log:
* Fix compiler warning of unused variable

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_io.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_io.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_io.c?rev=1729700&r1=1729699&r2=1729700&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_io.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_io.c Wed Feb 10 19:35:34 2016
@@ -1146,7 +1146,9 @@ static apr_status_t ssl_io_filter_handsh
 #endif
         const char *hostname_note = apr_table_get(c->notes,
                                                   "proxy-request-hostname");
+#ifdef HAVE_TLS_ALPN
         const char *alpn_note;
+#endif
         BOOL proxy_ssl_check_peer_ok = TRUE;
         int post_handshake_rc = OK;
 
@@ -1158,7 +1160,7 @@ static apr_status_t ssl_io_filter_handsh
         if (alpn_note) {
             char *protos, *s, *p, *last;
             apr_size_t len;
-            
+
             s = protos = apr_pcalloc(c->pool, strlen(alpn_note)+1);
             p = apr_pstrdup(c->pool, alpn_note);
             while ((p = apr_strtok(p, ", ", &last))) {