| 242 | } |
| 243 | |
| 244 | static certinfo *stapling_get_certinfo(server_rec *s, UCHAR *idx, apr_size_t idx_len, |
| 245 | modssl_ctx_t *mctx, SSL *ssl) |
| 246 | { |
| 247 | certinfo *cinf; |
| 248 | cinf = apr_hash_get(stapling_certinfo, idx, idx_len); |
| 249 | if (cinf && cinf->cid) |
| 250 | return cinf; |
| 251 | ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, APLOGNO(01926) |
| 252 | "stapling_get_certinfo: stapling not supported for certificate"); |
| 253 | return NULL; |
| 254 | } |
| 255 | |
| 256 | /* |
| 257 | * OCSP response caching code. The response is preceded by a flag value |
no test coverage detected