| 164 | #define CONF_S_NAME(s) (s && s->server_hostname? s->server_hostname : "default") |
| 165 | |
| 166 | static void srv_conf_props_clear(md_srv_conf_t *sc) |
| 167 | { |
| 168 | sc->transitive = DEF_VAL; |
| 169 | sc->require_https = MD_REQUIRE_UNSET; |
| 170 | sc->renew_mode = DEF_VAL; |
| 171 | sc->must_staple = DEF_VAL; |
| 172 | sc->pks = NULL; |
| 173 | sc->renew_window = NULL; |
| 174 | sc->warn_window = NULL; |
| 175 | sc->ca_urls = NULL; |
| 176 | sc->ca_contact = NULL; |
| 177 | sc->ca_proto = NULL; |
| 178 | sc->ca_agreement = NULL; |
| 179 | sc->ca_challenges = NULL; |
| 180 | sc->ca_eab_kid = NULL; |
| 181 | sc->ca_eab_hmac = NULL; |
| 182 | sc->profile = NULL; |
| 183 | sc->profile_mandatory = DEF_VAL; |
| 184 | sc->stapling = DEF_VAL; |
| 185 | sc->staple_others = DEF_VAL; |
| 186 | sc->ari_renewals = DEF_VAL; |
| 187 | sc->dns01_cmd = NULL; |
| 188 | } |
| 189 | |
| 190 | static void srv_conf_props_copy(md_srv_conf_t *to, const md_srv_conf_t *from) |
| 191 | { |
no outgoing calls
no test coverage detected