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

Function md_cert_to_sha256_fingerprint

modules/md/md_crypt.c:1511–1522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1509}
1510
1511apr_status_t md_cert_to_sha256_fingerprint(const char **pfinger, const md_cert_t *cert, apr_pool_t *p)
1512{
1513 md_data_t *digest;
1514 apr_status_t rv;
1515
1516 rv = md_cert_to_sha256_digest(&digest, cert, p);
1517 if (APR_SUCCESS == rv) {
1518 return md_data_to_hex(pfinger, 0, p, digest);
1519 }
1520 *pfinger = NULL;
1521 return rv;
1522}
1523
1524static int md_cert_read_pem(BIO *bf, apr_pool_t *p, md_cert_t **pcert)
1525{

Callers 2

md_ocsp_primeFunction · 0.85
md_status.cFile · 0.85

Calls 2

md_cert_to_sha256_digestFunction · 0.85
md_data_to_hexFunction · 0.85

Tested by

no test coverage detected