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

Function md_pkeys_spec_get

modules/md/md_crypt.c:592–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590static md_pkey_spec_t PkeySpecDef = { MD_PKEY_TYPE_DEFAULT, {{ 0 }} };
591
592md_pkey_spec_t *md_pkeys_spec_get(const md_pkeys_spec_t *pks, int index)
593{
594 if (md_pkeys_spec_is_empty(pks)) {
595 return index == 0? &PkeySpecDef : NULL;
596 }
597 else if (pks && index >= 0 && index < pks->specs->nelts) {
598 return APR_ARRAY_IDX(pks->specs, index, md_pkey_spec_t*);
599 }
600 return NULL;
601}
602
603static md_pkey_t *make_pkey(apr_pool_t *p)
604{

Callers 13

md_pkeys_spec_to_jsonFunction · 0.85
md_http_cert_statusFunction · 0.85
ad_setup_orderFunction · 0.85
md_job_json_seems_validFunction · 0.85
get_cert_nameFunction · 0.85
get_staging_certs_jsonFunction · 0.85
get_certificatesFunction · 0.85
md_get_challenge_certFunction · 0.85
cha_tls_alpn_01_setupFunction · 0.85
state_initFunction · 0.85
pubcert_loadFunction · 0.85
acme_driver_preload_initFunction · 0.85

Calls 1

md_pkeys_spec_is_emptyFunction · 0.85

Tested by

no test coverage detected