| 1177 | } |
| 1178 | |
| 1179 | static const char *md_config_set_ocsp_keep_window(cmd_parms *cmd, void *dc, const char *value) |
| 1180 | { |
| 1181 | md_srv_conf_t *sc = md_config_get(cmd->server); |
| 1182 | const char *err; |
| 1183 | |
| 1184 | (void)dc; |
| 1185 | if ((err = md_conf_check_location(cmd, MD_LOC_ALL))) { |
| 1186 | return err; |
| 1187 | } |
| 1188 | err = md_timeslice_parse(&sc->mc->ocsp_keep_window, cmd->pool, value, MD_TIME_OCSP_KEEP_NORM); |
| 1189 | if (err) return apr_psprintf(cmd->pool, "MDStaplingKeepResponse %s", err); |
| 1190 | return NULL; |
| 1191 | } |
| 1192 | |
| 1193 | static const char *md_config_set_ocsp_renew_window(cmd_parms *cmd, void *dc, const char *value) |
| 1194 | { |
nothing calls this directly
no test coverage detected