]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_md: make certain that the post config after ssl part runs really late.
authorStefan Eissing <icing@apache.org>
Wed, 24 Mar 2021 13:44:10 +0000 (13:44 +0000)
committerStefan Eissing <icing@apache.org>
Wed, 24 Mar 2021 13:44:10 +0000 (13:44 +0000)
        bumped version number.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1888006 13f79535-47bb-0310-9956-ffa450edef68

modules/md/md_version.h
modules/md/mod_md.c

index 7e25c854a99cd72cf8e32eb564eb52bd257d89e3..e907d4d0d73d5c7b1ad8f147664998fe3e074a95 100644 (file)
@@ -27,7 +27,7 @@
  * @macro
  * Version number of the md module as c string
  */
-#define MOD_MD_VERSION "2.4.0"
+#define MOD_MD_VERSION "2.4.1"
 
 /**
  * @macro
@@ -35,7 +35,7 @@
  * release. This is a 24 bit number with 8 bits for major number, 8 bits
  * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
  */
-#define MOD_MD_VERSION_NUM 0x020400
+#define MOD_MD_VERSION_NUM 0x020401
 
 #define MD_ACME_DEF_URL    "https://acme-v02.api.letsencrypt.org/directory"
 
index 2987d0449ce1a333ce4f366d0c1928f4a9b18c97..59098560e93e6254ebdbfcf9fbb711af86c2c215 100644 (file)
@@ -1461,7 +1461,7 @@ static void md_child_init(apr_pool_t *pool, server_rec *s)
  */
 static void md_hooks(apr_pool_t *pool)
 {
-    static const char *const mod_ssl[] = { "mod_ssl.c", NULL};
+    static const char *const mod_ssl[] = { "mod_ssl.c", "mod_tls.c", NULL};
 
     /* Leave the ssl initialization to mod_ssl or friends. */
     md_acme_init(pool, AP_SERVER_BASEVERSION, 0);
@@ -1472,7 +1472,7 @@ static void md_hooks(apr_pool_t *pool)
      * Run again after mod_ssl is done.
      */
     ap_hook_post_config(md_post_config_before_ssl, NULL, mod_ssl, APR_HOOK_MIDDLE);
-    ap_hook_post_config(md_post_config_after_ssl, mod_ssl, NULL, APR_HOOK_MIDDLE);
+    ap_hook_post_config(md_post_config_after_ssl, mod_ssl, NULL, APR_HOOK_LAST);
 
     /* Run once after a child process has been created.
      */