summaryrefslogtreecommitdiff
path: root/modules/md
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2021-04-13 11:27:09 +0000
committerStefan Eissing <icing@apache.org>2021-04-13 11:27:09 +0000
commiteb5a6fe0b944e21bd061e85d1a46c135d3dcbdc4 (patch)
tree13cab336d11712c08e1d8be50e0358c9fd8cbcfb /modules/md
parent882ff74dd65354737f75ca2c4cdf3e45270c3ac4 (diff)
downloadhttpd-eb5a6fe0b944e21bd061e85d1a46c135d3dcbdc4.tar.gz
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
Diffstat (limited to 'modules/md')
-rw-r--r--modules/md/md_version.h4
-rw-r--r--modules/md/mod_md_ocsp.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/md/md_version.h b/modules/md/md_version.h
index e907d4d0d7..909258c3f8 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 4f288631f9..4aa9ed29dd 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: