]> granicus.if.org Git - apache/commitdiff
mod_md is backported in this branch.
authorYann Ylavic <ylavic@apache.org>
Mon, 8 Jan 2018 15:58:57 +0000 (15:58 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 8 Jan 2018 15:58:57 +0000 (15:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-mod_md@1820579 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_init.c

index 0cfa766da47bd5b65d77db373e54d1d16706ad01..2c26564126e4d10c66831d8f7457638e1220d993 100644 (file)
 #include "mpm_common.h"
 #include "mod_md.h"
 
-/* Use the header, once mod_md is backported. break the dependency loop for now. */
-#define MOD_MD_BACKPORTED   0
-#if MOD_MD_BACKPORTED
-#include "mod_md.h"
-#else 
-APR_DECLARE_OPTIONAL_FN(int, 
-                        md_is_managed, (struct server_rec *));
-APR_DECLARE_OPTIONAL_FN(apr_status_t, 
-                        md_get_certificate, (struct server_rec *, apr_pool_t *,
-                                             const char **pkeyfile, 
-                                             const char **pcertfile));
-APR_DECLARE_OPTIONAL_FN(int, 
-                        md_is_challenge, (struct conn_rec *, const char *,
-                                          X509 **pcert, EVP_PKEY **pkey));
-#endif
-
 APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ssl, SSL, int, init_server,
                                     (server_rec *s,apr_pool_t *p,int is_proxy,SSL_CTX *ctx),
                                     (s,p,is_proxy,ctx), OK, DECLINED)