| 300 | */ |
| 301 | |
| 302 | int 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 |
| 319 | static apr_status_t modssl_fips_cleanup(void *data) |
no test coverage detected