From: Stefan Eissing Date: Tue, 13 Apr 2021 11:27:09 +0000 (+0000) Subject: mod_md: fixed a conversion warning, bumped version number. X-Git-Tag: 2.5.0-alpha2-ci-test-only~967 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb5a6fe0b944e21bd061e85d1a46c135d3dcbdc4;p=thirdparty%2Fapache%2Fhttpd.git mod_md: fixed a conversion warning, bumped version number. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1888726 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/md/md_version.h b/modules/md/md_version.h index e907d4d0d73..909258c3f86 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.4.1" +#define MOD_MD_VERSION "2.4.2" /** * @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 0x020401 +#define MOD_MD_VERSION_NUM 0x020402 #define MD_ACME_DEF_URL "https://acme-v02.api.letsencrypt.org/directory" diff --git a/modules/md/mod_md_ocsp.c b/modules/md/mod_md_ocsp.c index 4f288631f92..4aa9ed29dd4 100644 --- a/modules/md/mod_md_ocsp.c +++ b/modules/md/mod_md_ocsp.c @@ -159,7 +159,7 @@ int md_ocsp_get_stapling_status(unsigned char **pder, int *pderlen, rv = md_ocsp_get_status(ocsp_copy_der, &ctx, sc->mc->ocsp, &id, c->pool, md); if (APR_STATUS_IS_ENOENT(rv)) goto declined; *pder = ctx.der; - *pderlen = ctx.der_len; + *pderlen = (int)ctx.der_len; return OK; declined: