| 1224 | } |
| 1225 | |
| 1226 | static const char *md_config_set_activation_delay(cmd_parms *cmd, void *mconfig, const char *arg) |
| 1227 | { |
| 1228 | md_srv_conf_t *sc = md_config_get(cmd->server); |
| 1229 | const char *err; |
| 1230 | apr_interval_time_t delay; |
| 1231 | |
| 1232 | (void)mconfig; |
| 1233 | if ((err = md_conf_check_location(cmd, MD_LOC_NOT_MD))) { |
| 1234 | return err; |
| 1235 | } |
| 1236 | if (md_duration_parse(&delay, arg, "d") != APR_SUCCESS) { |
| 1237 | return "unrecognized duration format"; |
| 1238 | } |
| 1239 | apr_table_set(sc->mc->env, MD_KEY_ACTIVATION_DELAY, md_duration_format(cmd->pool, delay)); |
| 1240 | return NULL; |
| 1241 | } |
| 1242 | |
| 1243 | static const char *md_config_set_ca_certs(cmd_parms *cmd, void *dc, const char *path) |
| 1244 | { |
nothing calls this directly
no test coverage detected