| 152 | } |
| 153 | |
| 154 | static int ostat_cleanup(void *ctx, const void *key, apr_ssize_t klen, const void *val) |
| 155 | { |
| 156 | md_ocsp_reg_t *reg = ctx; |
| 157 | md_ocsp_status_t *ostat = (md_ocsp_status_t *)val; |
| 158 | |
| 159 | (void)reg; |
| 160 | (void)key; |
| 161 | (void)klen; |
| 162 | ostat_req_cleanup(ostat); |
| 163 | if (ostat->certid) { |
| 164 | OCSP_CERTID_free(ostat->certid); |
| 165 | ostat->certid = NULL; |
| 166 | } |
| 167 | md_data_clear(&ostat->resp_der); |
| 168 | return 1; |
| 169 | } |
| 170 | |
| 171 | static int ostat_should_renew(md_ocsp_status_t *ostat) |
| 172 | { |
nothing calls this directly
no test coverage detected