From: Stefan Eissing Date: Fri, 20 Feb 2026 13:44:36 +0000 (+0000) Subject: *) mod_md: update to version 2.6.8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56da8358b69773d36e47fcf1a9c77263c89a9b70;p=thirdparty%2Fapache%2Fhttpd.git *) 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1931951 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/changes-entries/md_v2.6.8.txt b/changes-entries/md_v2.6.8.txt new file mode 100644 index 0000000000..f372a3de45 --- /dev/null +++ b/changes-entries/md_v2.6.8.txt @@ -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. diff --git a/modules/md/md_acmev2_drive.c b/modules/md/md_acmev2_drive.c index 5b5f9515f4..facb080f5e 100644 --- a/modules/md/md_acmev2_drive.c +++ b/modules/md/md_acmev2_drive.c @@ -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) { diff --git a/modules/md/md_version.h b/modules/md/md_version.h index 56bfcfee11..010437229a 100644 --- a/modules/md/md_version.h +++ b/modules/md/md_version.h @@ -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"