]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*) mod_md: update to version 2.6.8
authorStefan Eissing <icing@apache.org>
Fri, 20 Feb 2026 13:44:36 +0000 (13:44 +0000)
committerStefan Eissing <icing@apache.org>
Fri, 20 Feb 2026 13:44:36 +0000 (13:44 +0000)
     - Fix the ARI related `replaces` property in ACME order creation to only
       be used when the CA supports ARI and it is enabled in the menu config.
     - Fix compatibility with APR versions before 1.6.0 which do not have
       `apr_cstr_casecmp` and should use `apr_strnatcasecmp` instead.

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

changes-entries/md_v2.6.8.txt [new file with mode: 0644]
modules/md/md_acmev2_drive.c
modules/md/md_version.h

diff --git a/changes-entries/md_v2.6.8.txt b/changes-entries/md_v2.6.8.txt
new file mode 100644 (file)
index 0000000..f372a3d
--- /dev/null
@@ -0,0 +1,5 @@
+  *) mod_md: update to version 2.6.8
+     - Fix the ARI related `replaces` property in ACME order creation to only
+       be used when the CA supports ARI and it is enabled in the menu config.
+     - Fix compatibility with APR versions before 1.6.0 which do not have
+       `apr_cstr_casecmp` and should use `apr_strnatcasecmp` instead.
index 5b5f9515f4d74faee337feda6f893b46e1167e56..facb080f5e3a18cd99109e1eaa614190a72e078d 100644 (file)
@@ -78,7 +78,8 @@ static apr_status_t ad_setup_order(md_proto_driver_t *d, md_result_t *result, in
         md_acme_order_purge(d->store, d->p, MD_SG_STAGING, md, d->env);
     }
     
-    if (ad->cred->spec && ad->md->ca_account) {
+    if (ad->cred->spec && ad->md->ca_account && ad->md->ari_renewals &&
+        ad->acme->api.v2.renewal_info) {
         /* are we replacing a previous certificate on the same account? */
         int i;
         for (i = 0; i < md_pkeys_spec_count(d->md->pks); ++i) {
index 56bfcfee117204218d9f813cbd9e9b371e8c25b5..010437229ae95f71cdfe01d5e15fcda4110c75dc 100644 (file)
@@ -27,7 +27,7 @@
  * @macro
  * Version number of the md module as c string
  */
-#define MOD_MD_VERSION "2.6.7-git"
+#define MOD_MD_VERSION "2.6.8"
 
 /**
  * @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 0x020607
+#define MOD_MD_VERSION_NUM 0x020608
 
 #define MD_ACME_DEF_URL         "https://acme-v02.api.letsencrypt.org/directory"