| 218 | } |
| 219 | |
| 220 | static 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 |
no test coverage detected