| 596 | } |
| 597 | |
| 598 | static const char *md_config_set_profile(cmd_parms *cmd, void *dc, const char *value) |
| 599 | { |
| 600 | md_srv_conf_t *config = md_config_get(cmd->server); |
| 601 | const char *err; |
| 602 | |
| 603 | (void)dc; |
| 604 | if ((err = md_conf_check_location(cmd, MD_LOC_ALL))) { |
| 605 | return err; |
| 606 | } |
| 607 | config->profile = value; |
| 608 | return NULL; |
| 609 | } |
| 610 | |
| 611 | static const char *md_config_set_profile_mandatory(cmd_parms *cmd, void *dc, const char *value) |
| 612 | { |
nothing calls this directly
no test coverage detected