]> granicus.if.org Git - apache/commitdiff
* using mod_ssl_openssl.h to see hooks in new place
authorStefan Eissing <icing@apache.org>
Tue, 9 Jul 2019 16:47:36 +0000 (16:47 +0000)
committerStefan Eissing <icing@apache.org>
Tue, 9 Jul 2019 16:47:36 +0000 (16:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1862822 13f79535-47bb-0310-9956-ffa450edef68

modules/md/mod_md.c

index 7fd27afcaef7f561bfff4420734a31b5b6e61a56..d1f4f4b3c014be95aa5070c75f9eb84832a406ab 100644 (file)
@@ -53,7 +53,7 @@
 #include "mod_md_drive.h"
 #include "mod_md_os.h"
 #include "mod_md_status.h"
-#include "mod_ssl.h"
+#include "mod_ssl_openssl.h"
 
 static void md_hooks(apr_pool_t *pool);
 
@@ -1101,9 +1101,9 @@ out:
 }
 
 static int md_answer_challenge(conn_rec *c, const char *servername,
-                               void **pX509, void **pEVP_PKEY)
+                               X509 **pcert, EVP_PKEY **pkey)
 {
-    if (md_is_challenge(c, servername, (X509**)pX509, (EVP_PKEY**)pEVP_PKEY)) {
+    if (md_is_challenge(c, servername, pcert, pkey)) {
         return APR_SUCCESS;
     }
     return DECLINED;