| 251 | } |
| 252 | |
| 253 | AP_DECLARE(apr_status_t) ap_ssl_ocsp_get_resp(server_rec *s, conn_rec *c, |
| 254 | const char *id, apr_size_t id_len, |
| 255 | ap_ssl_ocsp_copy_resp *cb, void *userdata) |
| 256 | { |
| 257 | int rv = ap_run_ssl_ocsp_get_resp_hook(s, c, id, id_len, cb, userdata); |
| 258 | return rv == OK? APR_SUCCESS : (rv == DECLINED? APR_ENOENT : APR_EGENERAL); |
| 259 | } |
| 260 | |
| 261 | AP_IMPLEMENT_HOOK_RUN_FIRST(int, ssl_conn_is_ssl, |
| 262 | (conn_rec *c), (c), DECLINED) |