Skip to content

Commit dbc8bee

Browse files
committed
Merge of /httpd/httpd/trunk:r1931951
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1931952 13f79535-47bb-0310-9956-ffa450edef68
1 parent 705284f commit dbc8bee

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

changes-entries/md_v2.6.8.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*) mod_md: update to version 2.6.8
2+
- Fix the ARI related `replaces` property in ACME order creation to only
3+
be used when the CA supports ARI and it is enabled in the menu config.
4+
- Fix compatibility with APR versions before 1.6.0 which do not have
5+
`apr_cstr_casecmp` and should use `apr_strnatcasecmp` instead.

modules/md/md_acmev2_drive.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ static apr_status_t ad_setup_order(md_proto_driver_t *d, md_result_t *result, in
7878
md_acme_order_purge(d->store, d->p, MD_SG_STAGING, md, d->env);
7979
}
8080

81-
if (ad->cred->spec && ad->md->ca_account) {
81+
if (ad->cred->spec && ad->md->ca_account && ad->md->ari_renewals &&
82+
ad->acme->api.v2.renewal_info) {
8283
/* are we replacing a previous certificate on the same account? */
8384
int i;
8485
for (i = 0; i < md_pkeys_spec_count(d->md->pks); ++i) {

modules/md/md_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
* @macro
2828
* Version number of the md module as c string
2929
*/
30-
#define MOD_MD_VERSION "2.6.7-git"
30+
#define MOD_MD_VERSION "2.6.8"
3131

3232
/**
3333
* @macro
3434
* Numerical representation of the version number of the md module
3535
* release. This is a 24 bit number with 8 bits for major number, 8 bits
3636
* for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
3737
*/
38-
#define MOD_MD_VERSION_NUM 0x020607
38+
#define MOD_MD_VERSION_NUM 0x020608
3939

4040
#define MD_ACME_DEF_URL "https://acme-v02.api.letsencrypt.org/directory"
4141

0 commit comments

Comments
 (0)