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

Function md_get_by_domain

modules/md/md_core.c:165–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165md_t *md_get_by_domain(struct apr_array_header_t *mds, const char *domain)
166{
167 int i;
168 for (i = 0; i < mds->nelts; ++i) {
169 md_t *md = APR_ARRAY_IDX(mds, i, md_t *);
170 if (md_contains(md, domain, 0)) {
171 return md;
172 }
173 }
174 return NULL;
175}
176
177md_t *md_get_by_dns_overlap(struct apr_array_header_t *mds, const md_t *md)
178{

Callers 3

md_http_cert_statusFunction · 0.85
md_status_handlerFunction · 0.85
md_http_challenge_prFunction · 0.85

Calls 1

md_containsFunction · 0.85

Tested by

no test coverage detected