Skip to content

Commit f626297

Browse files
committed
fix apr_strnatcasecmp in apr before 1.6 compat
1 parent 8c06a08 commit f626297

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ChangeLog

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

57
v2.6.7
68
----------------------------------------------------------------------------------------------------

src/md_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#else
2828
/* Define a (poor) backwards-compatibility entry point for
2929
* apr_cstr_casecmp() from APR 1.6. */
30-
#define apr_cstr_casecmp apr_natcasecmp
30+
#define apr_cstr_casecmp apr_strnatcasecmp
3131
#endif
3232

3333
struct apr_array_header_t;

0 commit comments

Comments
 (0)