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

Function md_dns_domains_match

modules/md/md_util.c:907–917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905}
906
907int md_dns_domains_match(const apr_array_header_t *domains, const char *name)
908{
909 const char *domain;
910 int i;
911
912 for (i = 0; i < domains->nelts; ++i) {
913 domain = APR_ARRAY_IDX(domains, i, const char*);
914 if (md_dns_matches(domain, name)) return 1;
915 }
916 return 0;
917}
918
919int md_is_wild_match(const apr_array_header_t *domains, const char *name)
920{

Callers 3

md_cert_covers_mdFunction · 0.85
md_containsFunction · 0.85

Calls 1

md_dns_matchesFunction · 0.85

Tested by

no test coverage detected