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

Function certid_as_hex

modules/md/md_ocsp.c:511–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511static const char *certid_as_hex(const OCSP_CERTID *certid, apr_pool_t *p)
512{
513 md_data_t der;
514 const char *hex;
515
516 memset(&der, 0, sizeof(der));
517 der.len = (apr_size_t)i2d_OCSP_CERTID((OCSP_CERTID*)certid, (unsigned char**)&der.data);
518 der.free_data = md_openssl_free;
519 md_data_to_hex(&hex, 0, p, &der);
520 md_data_clear(&der);
521 return hex;
522}
523
524static const char *certid_summary(const OCSP_CERTID *certid, apr_pool_t *p)
525{

Callers 1

certid_summaryFunction · 0.85

Calls 2

md_data_to_hexFunction · 0.85
md_data_clearFunction · 0.85

Tested by

no test coverage detected