You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2016/02/26 17:59:06 UTC

svn commit: r1732519 - /httpd/httpd/trunk/modules/http2/h2_h2.c

Author: jorton
Date: Fri Feb 26 16:59:06 2016
New Revision: 1732519

URL: http://svn.apache.org/viewvc?rev=1732519&view=rev
Log:
* modules/ssl/h2_h2.c: Use mod_ssl function pointer types by reference.

Modified:
    httpd/httpd/trunk/modules/http2/h2_h2.c

Modified: httpd/httpd/trunk/modules/http2/h2_h2.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_h2.c?rev=1732519&r1=1732518&r2=1732519&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_h2.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_h2.c Fri Feb 26 16:59:06 2016
@@ -56,11 +56,9 @@ const char *H2_MAGIC_TOKEN = "PRI * HTTP
 /*******************************************************************************
  * The optional mod_ssl functions we need. 
  */
-static int (*opt_ssl_engine_disable)(conn_rec*);
-static int (*opt_ssl_is_https)(conn_rec*);
-static char *(*opt_ssl_var_lookup)(apr_pool_t *, server_rec *,
-                                   conn_rec *, request_rec *,
-                                   char *);
+static APR_OPTIONAL_FN_TYPE(ssl_engine_disable) *opt_ssl_engine_disable;
+static APR_OPTIONAL_FN_TYPE(ssl_is_https) *opt_ssl_is_https;
+static APR_OPTIONAL_FN_TYPE(ssl_var_lookup) *opt_ssl_var_lookup;
 
 
 /*******************************************************************************