You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/04/13 11:27:09 UTC

svn commit: r1888726 - in /httpd/httpd/trunk/modules/md: md_version.h mod_md_ocsp.c

Author: icing
Date: Tue Apr 13 11:27:09 2021
New Revision: 1888726

URL: http://svn.apache.org/viewvc?rev=1888726&view=rev
Log:
mod_md: fixed a conversion warning, bumped version number.


Modified:
    httpd/httpd/trunk/modules/md/md_version.h
    httpd/httpd/trunk/modules/md/mod_md_ocsp.c

Modified: httpd/httpd/trunk/modules/md/md_version.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_version.h?rev=1888726&r1=1888725&r2=1888726&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_version.h (original)
+++ httpd/httpd/trunk/modules/md/md_version.h Tue Apr 13 11:27:09 2021
@@ -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"
 

Modified: httpd/httpd/trunk/modules/md/mod_md_ocsp.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md_ocsp.c?rev=1888726&r1=1888725&r2=1888726&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md_ocsp.c (original)
+++ httpd/httpd/trunk/modules/md/mod_md_ocsp.c Tue Apr 13 11:27:09 2021
@@ -159,7 +159,7 @@ int md_ocsp_get_stapling_status(unsigned
     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: