Skip to content

Commit 42eb998

Browse files
committed
Add --enable-sigusr2 to use SIGUSR2 rather than SIGWINCH for graceful
stop, which requires APR 1.7+. * configure.in: Add --enable-sigusr2; define AP_SIG_GRACEFUL_STOP* in ap_config.h. * include/mpm_common.h: Define AP_SIG_GRACEFUL_STOP* conditionally. * server/mpm/prefork/prefork.c (child_main): Don't mention SIGWINCH. PR: 50669
1 parent c8a53d1 commit 42eb998

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/ssl/ssl_engine_vars.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ static const char *ssl_var_lookup_ssl_cert_remain(apr_pool_t *p, ASN1_TIME *tm)
857857
}
858858

859859
exp.tm_mon = DIGIT2NUM(dp) - 1;
860-
exp.tm_mday = DIGIT2NUM(dp + 2) + 1;
860+
exp.tm_mday = DIGIT2NUM(dp + 2);
861861
exp.tm_hour = DIGIT2NUM(dp + 4);
862862
exp.tm_min = DIGIT2NUM(dp + 6);
863863
exp.tm_sec = DIGIT2NUM(dp + 8);

0 commit comments

Comments
 (0)