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

Function ssl_is_challenge

modules/ssl/ssl_engine_init.c:302–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300*/
301
302int ssl_is_challenge(conn_rec *c, const char *servername,
303 X509 **pcert, EVP_PKEY **pkey,
304 const char **pcert_pem, const char **pkey_pem)
305{
306 *pcert = NULL;
307 *pkey = NULL;
308 *pcert_pem = *pkey_pem = NULL;
309 if (ap_ssl_answer_challenge(c, servername, pcert_pem, pkey_pem)) {
310 return 1;
311 }
312 else if (OK == ssl_run_answer_challenge(c, servername, pcert, pkey)) {
313 return 1;
314 }
315 return 0;
316}
317
318#ifdef HAVE_FIPS
319static apr_status_t modssl_fips_cleanup(void *data)

Callers 1

ssl_callback_alpn_selectFunction · 0.85

Calls 1

ap_ssl_answer_challengeFunction · 0.85

Tested by

no test coverage detected