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

Function ssl_config_perdir_create

modules/ssl/ssl_engine_config.c:438–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438void *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

Callers

nothing calls this directly

Calls 1

modssl_ctx_init_proxyFunction · 0.85

Tested by

no test coverage detected