diff options
author | Stefan Eissing <icing@apache.org> | 2021-03-23 15:25:34 +0000 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2021-03-23 15:25:34 +0000 |
commit | 21f16155c38e406e0a0daaa60a539d66128cf044 (patch) | |
tree | a471a9788d27e3fdd4947fca5dfac32ebd5b2122 /modules/md | |
parent | cd1ff445fbb0857f84664b688cebde3e753a0280 (diff) | |
download | httpd-21f16155c38e406e0a0daaa60a539d66128cf044.tar.gz |
Fixing trace logging printf to have the correct args now that we number certs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1887965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md')
-rw-r--r-- | modules/md/md_reg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/md/md_reg.c b/modules/md/md_reg.c index 19e5dbefc9..ca964c4b7b 100644 --- a/modules/md/md_reg.c +++ b/modules/md/md_reg.c @@ -637,7 +637,6 @@ apr_time_t md_reg_renew_at(md_reg_t *reg, const md_t *md, apr_pool_t *p) const md_pubcert_t *pub; const md_cert_t *cert; md_timeperiod_t certlife, renewal; - md_pkey_spec_t *spec; int i; apr_time_t renew_at = 0; apr_status_t rv; @@ -654,8 +653,8 @@ apr_time_t md_reg_renew_at(md_reg_t *reg, const md_t *md, apr_pool_t *p) renewal = md_timeperiod_slice_before_end(&certlife, md->renew_window); if (md_log_is_level(p, MD_LOG_TRACE1)) { md_log_perror(MD_LOG_MARK, MD_LOG_TRACE2, 0, p, - "md[%s]: certificate(%s) valid[%s] renewal[%s]", - md->name, md_pkey_spec_name(spec), + "md[%s]: certificate(%d) valid[%s] renewal[%s]", + md->name, i, md_timeperiod_print(p, &certlife), md_timeperiod_print(p, &renewal)); } |