Use the "ssl_is_https" definition from mod_ssl.h.
authorJoe Orton <jorton@redhat.com>
Sat, 23 May 2015 11:04:11 +0000 (12:04 +0100)
committerSimo Sorce <simo@redhat.com>
Sun, 24 May 2015 21:49:05 +0000 (23:49 +0200)
Reviewed-by: Simo Sorce <simo@redhat.com>
src/mod_auth_gssapi.c
src/mod_auth_gssapi.h

index 0ca9a27..a22a4b2 100644 (file)
@@ -30,8 +30,6 @@ module AP_MODULE_DECLARE_DATA auth_gssapi_module;
 
 APLOG_USE_MODULE(auth_gssapi);
 
-APR_DECLARE_OPTIONAL_FN(int, ssl_is_https, (conn_rec *));
-
 static char *mag_status(request_rec *req, int type, uint32_t err)
 {
     uint32_t maj_ret, min_ret;
index b12b0e9..fc5f643 100644 (file)
@@ -18,6 +18,7 @@
 #include <http_log.h>
 #include <http_request.h>
 #include <mod_session.h>
+#include <mod_ssl.h>
 
 /* apache's httpd.h drags in empty PACKAGE_* variables.
  * undefine them to avoid annoying compile warnings as they