MCPcopy Create free account
hub / github.com/apache/httpd / ostat_should_renew

Function ostat_should_renew

modules/md/md_ocsp.c:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171static int ostat_should_renew(md_ocsp_status_t *ostat)
172{
173 md_timeperiod_t renewal;
174
175 renewal = md_timeperiod_slice_before_end(&ostat->resp_valid, &ostat->reg->renew_window);
176 return md_timeperiod_has_started(&renewal, apr_time_now());
177}
178
179static apr_status_t ostat_set(md_ocsp_status_t *ostat, md_ocsp_cert_stat_t stat,
180 md_data_t *der, md_timeperiod_t *valid, apr_time_t mtime)

Callers 1

md_ocsp_get_statusFunction · 0.85

Calls 2

Tested by

no test coverage detected