From: Stefan Eissing Date: Tue, 9 Jul 2019 16:47:36 +0000 (+0000) Subject: * using mod_ssl_openssl.h to see hooks in new place X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2bc9889e634795ca136da2305ac3aee96286fcdf;p=apache * using mod_ssl_openssl.h to see hooks in new place git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1862822 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/md/mod_md.c b/modules/md/mod_md.c index 7fd27afcae..d1f4f4b3c0 100644 --- a/modules/md/mod_md.c +++ b/modules/md/mod_md.c @@ -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;