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

Function md_config_set_must_staple

modules/md/mod_md_config.c:623–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621}
622
623static const char *md_config_set_must_staple(cmd_parms *cmd, void *dc, const char *value)
624{
625 md_srv_conf_t *config = md_config_get(cmd->server);
626 const char *err;
627
628 (void)dc;
629 if ((err = md_conf_check_location(cmd, MD_LOC_ALL))) {
630 return err;
631 }
632 return set_on_off(&config->must_staple, value, cmd->pool);
633}
634
635static const char *md_config_set_stapling(cmd_parms *cmd, void *dc, const char *value)
636{

Callers

nothing calls this directly

Calls 3

md_config_getFunction · 0.85
md_conf_check_locationFunction · 0.85
set_on_offFunction · 0.85

Tested by

no test coverage detected