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

Function get_cert_count

modules/md/md_status.c:180–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180static int get_cert_count(const md_t *md, int from_staging)
181{
182 if (!from_staging && md->cert_files && md->cert_files->nelts) {
183 return md->cert_files->nelts;
184 }
185 return md_pkeys_spec_count(md->pks);
186}
187
188static const char *get_cert_name(const md_t *md, int i, int from_staging, apr_pool_t *p)
189{

Callers 3

status_get_certs_jsonFunction · 0.70
get_staging_certs_jsonFunction · 0.70
status_get_md_jsonFunction · 0.70

Calls 1

md_pkeys_spec_countFunction · 0.85

Tested by

no test coverage detected