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

Function stapling_get_certinfo

modules/ssl/ssl_util_stapling.c:244–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244static 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

Callers 1

stapling_cbFunction · 0.85

Calls 1

ap_log_errorFunction · 0.50

Tested by

no test coverage detected