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

Function md_config_set_ocsp_keep_window

modules/md/mod_md_config.c:1179–1191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177}
1178
1179static 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
1193static const char *md_config_set_ocsp_renew_window(cmd_parms *cmd, void *dc, const char *value)
1194{

Callers

nothing calls this directly

Calls 3

md_config_getFunction · 0.85
md_conf_check_locationFunction · 0.85
md_timeslice_parseFunction · 0.85

Tested by

no test coverage detected