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

Function md_timeperiod_remaining

modules/md/md_time.c:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47apr_interval_time_t md_timeperiod_remaining(const md_timeperiod_t *period, apr_time_t time)
48{
49 if (time < period->start) return md_timeperiod_length(period);
50 if (time < period->end) return period->end - time;
51 return 0;
52}
53
54char *md_timeperiod_print(apr_pool_t *p, const md_timeperiod_t *period)
55{

Callers 1

md_ocsp_get_statusFunction · 0.85

Calls 1

md_timeperiod_lengthFunction · 0.85

Tested by

no test coverage detected