| 436 | } |
| 437 | |
| 438 | void *ssl_config_perdir_create(apr_pool_t *p, char *dir) |
| 439 | { |
| 440 | SSLDirConfigRec *dc = apr_palloc(p, sizeof(*dc)); |
| 441 | |
| 442 | dc->bSSLRequired = FALSE; |
| 443 | dc->aRequirement = apr_array_make(p, 4, sizeof(ssl_require_t)); |
| 444 | dc->nOptions = SSL_OPT_NONE|SSL_OPT_RELSET; |
| 445 | dc->nOptionsAdd = SSL_OPT_NONE; |
| 446 | dc->nOptionsDel = SSL_OPT_NONE; |
| 447 | |
| 448 | dc->szCipherSuite = NULL; |
| 449 | dc->nVerifyClient = SSL_CVERIFY_UNSET; |
| 450 | dc->nVerifyDepth = UNSET; |
| 451 | |
| 452 | dc->szUserName = NULL; |
| 453 | |
| 454 | dc->nRenegBufferSize = UNSET; |
| 455 | |
| 456 | dc->proxy_enabled = UNSET; |
| 457 | modssl_ctx_init_proxy(dc, p); |
| 458 | dc->proxy_post_config = FALSE; |
| 459 | |
| 460 | return dc; |
| 461 | } |
| 462 | |
| 463 | /* |
| 464 | * Merge per-directory SSL configurations |
nothing calls this directly
no test coverage detected