| 169 | } |
| 170 | |
| 171 | static 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 | |
| 179 | static 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) |
no test coverage detected