| 264 | */ |
| 265 | |
| 266 | static void modssl_ctx_cfg_merge(apr_pool_t *p, |
| 267 | modssl_ctx_t *base, |
| 268 | modssl_ctx_t *add, |
| 269 | modssl_ctx_t *mrg) |
| 270 | { |
| 271 | if (add->protocol_set) { |
| 272 | mrg->protocol_set = 1; |
| 273 | mrg->protocol = add->protocol; |
| 274 | } |
| 275 | else { |
| 276 | mrg->protocol_set = base->protocol_set; |
| 277 | mrg->protocol = base->protocol; |
| 278 | } |
| 279 | |
| 280 | cfgMerge(pphrase_dialog_type, SSL_PPTYPE_UNSET); |
| 281 | cfgMergeString(pphrase_dialog_path); |
| 282 | |
| 283 | cfgMergeString(cert_chain); |
| 284 | |
| 285 | cfgMerge(crl_path, NULL); |
| 286 | cfgMerge(crl_file, NULL); |
| 287 | cfgMergeInt(crl_check_mask); |
| 288 | |
| 289 | cfgMergeString(auth.ca_cert_path); |
| 290 | cfgMergeString(auth.ca_cert_file); |
| 291 | cfgMergeString(auth.cipher_suite); |
| 292 | cfgMergeInt(auth.verify_depth); |
| 293 | cfgMerge(auth.verify_mode, SSL_CVERIFY_UNSET); |
| 294 | cfgMergeString(auth.tls13_ciphers); |
| 295 | |
| 296 | cfgMergeInt(ocsp_mask); |
| 297 | cfgMergeBool(ocsp_force_default); |
| 298 | cfgMerge(ocsp_responder, NULL); |
| 299 | cfgMergeInt(ocsp_resptime_skew); |
| 300 | cfgMergeInt(ocsp_resp_maxage); |
| 301 | cfgMergeInt(ocsp_responder_timeout); |
| 302 | cfgMergeBool(ocsp_use_request_nonce); |
| 303 | cfgMerge(proxy_uri, NULL); |
| 304 | |
| 305 | /* Set OCSP Responder Certificate Verification directive */ |
| 306 | cfgMergeBool(ocsp_noverify); |
| 307 | /* Set OCSP Responder File directive for importing */ |
| 308 | cfgMerge(ocsp_certs_file, NULL); |
| 309 | |
| 310 | #ifdef HAVE_OCSP_STAPLING |
| 311 | cfgMergeBool(stapling_enabled); |
| 312 | cfgMergeInt(stapling_resptime_skew); |
| 313 | cfgMergeInt(stapling_resp_maxage); |
| 314 | cfgMergeInt(stapling_cache_timeout); |
| 315 | cfgMergeBool(stapling_return_errors); |
| 316 | cfgMergeBool(stapling_fake_trylater); |
| 317 | cfgMergeInt(stapling_errcache_timeout); |
| 318 | cfgMergeInt(stapling_responder_timeout); |
| 319 | cfgMerge(stapling_force_url, NULL); |
| 320 | #endif |
| 321 | |
| 322 | #ifdef HAVE_SRP |
| 323 | cfgMergeString(srp_vfile); |
no outgoing calls
no test coverage detected