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

Function modssl_ctx_init

modules/ssl/ssl_engine_config.c:120–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118#endif
119
120static void modssl_ctx_init(modssl_ctx_t *mctx, apr_pool_t *p)
121{
122 mctx->sc = NULL; /* set during module init */
123
124 mctx->ssl_ctx = NULL; /* set during module init */
125
126 mctx->pks = NULL;
127 mctx->pkp = NULL;
128
129#ifdef HAVE_TLS_SESSION_TICKETS
130 mctx->ticket_key = NULL;
131#endif
132
133 mctx->protocol = SSL_PROTOCOL_DEFAULT;
134 mctx->protocol_set = 0;
135
136 mctx->pphrase_dialog_type = SSL_PPTYPE_UNSET;
137 mctx->pphrase_dialog_path = NULL;
138
139 mctx->cert_chain = NULL;
140
141 mctx->crl_path = NULL;
142 mctx->crl_file = NULL;
143 mctx->crl_check_mask = UNSET;
144
145 mctx->auth.ca_cert_path = NULL;
146 mctx->auth.ca_cert_file = NULL;
147 mctx->auth.cipher_suite = NULL;
148 mctx->auth.verify_depth = UNSET;
149 mctx->auth.verify_mode = SSL_CVERIFY_UNSET;
150 mctx->auth.tls13_ciphers = NULL;
151
152 mctx->ocsp_mask = UNSET;
153 mctx->ocsp_force_default = UNSET;
154 mctx->ocsp_responder = NULL;
155 mctx->ocsp_resptime_skew = UNSET;
156 mctx->ocsp_resp_maxage = UNSET;
157 mctx->ocsp_responder_timeout = UNSET;
158 mctx->ocsp_use_request_nonce = UNSET;
159 mctx->proxy_uri = NULL;
160
161/* Set OCSP Responder Certificate Verification variable */
162 mctx->ocsp_noverify = UNSET;
163/* Set OCSP Responder File variables */
164 mctx->ocsp_verify_flags = 0;
165 mctx->ocsp_certs_file = NULL;
166 mctx->ocsp_certs = NULL;
167
168#ifdef HAVE_OCSP_STAPLING
169 mctx->stapling_enabled = UNSET;
170 mctx->stapling_resptime_skew = UNSET;
171 mctx->stapling_resp_maxage = UNSET;
172 mctx->stapling_cache_timeout = UNSET;
173 mctx->stapling_return_errors = UNSET;
174 mctx->stapling_fake_trylater = UNSET;
175 mctx->stapling_errcache_timeout = UNSET;
176 mctx->stapling_responder_timeout = UNSET;
177 mctx->stapling_force_url = NULL;

Callers 2

modssl_ctx_init_serverFunction · 0.85
modssl_ctx_init_proxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected