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

Function ssl_config_server_new

modules/ssl/ssl_engine_config.c:220–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220static SSLSrvConfigRec *ssl_config_server_new(apr_pool_t *p)
221{
222 SSLSrvConfigRec *sc = apr_palloc(p, sizeof(*sc));
223
224 sc->mc = NULL;
225 sc->enabled = SSL_ENABLED_UNSET;
226 sc->vhost_id = NULL; /* set during module init */
227 sc->vhost_id_len = 0; /* set during module init */
228 sc->session_cache_timeout = UNSET;
229 sc->cipher_server_pref = UNSET;
230 sc->insecure_reneg = UNSET;
231#ifdef HAVE_TLSEXT
232 sc->strict_sni_vhost_check = SSL_ENABLED_UNSET;
233#endif
234#ifndef OPENSSL_NO_COMP
235 sc->compression = UNSET;
236#endif
237 sc->session_tickets = UNSET;
238
239 modssl_ctx_init_server(sc, p);
240
241 return sc;
242}
243
244/*
245 * Create per-server SSL configuration

Callers 2

ssl_config_server_createFunction · 0.85
ssl_config_server_mergeFunction · 0.85

Calls 1

modssl_ctx_init_serverFunction · 0.85

Tested by

no test coverage detected