You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2026/01/19 12:41:30 UTC

svn commit: r1931420 - httpd/httpd/trunk/modules/ssl

Author: jorton
Date: Mon Jan 19 12:41:30 2026
New Revision: 1931420

Log:
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_remain):
  Fix off-by-one in tm_mday calculation, identified by Gemini.

Modified:
   httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c	Mon Jan 19 12:10:02 2026	(r1931419)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_vars.c	Mon Jan 19 12:41:30 2026	(r1931420)
@@ -857,7 +857,7 @@ static const char *ssl_var_lookup_ssl_ce
     }
 
     exp.tm_mon = DIGIT2NUM(dp) - 1;
-    exp.tm_mday = DIGIT2NUM(dp + 2) + 1;
+    exp.tm_mday = DIGIT2NUM(dp + 2);
     exp.tm_hour = DIGIT2NUM(dp + 4);
     exp.tm_min = DIGIT2NUM(dp + 6);
     exp.tm_sec = DIGIT2NUM(dp + 8);