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

Function get_cert_name

modules/md/md_status.c:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188static const char *get_cert_name(const md_t *md, int i, int from_staging, apr_pool_t *p)
189{
190 if (!from_staging && md->cert_files && md->cert_files->nelts) {
191 /* static files configured, not from staging, used index names */
192 return apr_psprintf(p, "%d", i);
193 }
194 return md_pkey_spec_name(md_pkeys_spec_get(md->pks, i));
195}
196
197static apr_status_t status_get_certs_json(md_json_t **pjson, apr_array_header_t *certs,
198 int from_staging,

Callers 1

status_get_certs_jsonFunction · 0.85

Calls 2

md_pkey_spec_nameFunction · 0.85
md_pkeys_spec_getFunction · 0.85

Tested by

no test coverage detected