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

Function md_is_wild_match

modules/md/md_util.c:919–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

917}
918
919int md_is_wild_match(const apr_array_header_t *domains, const char *name)
920{
921 const char *domain;
922 int i;
923
924 for (i = 0; i < domains->nelts; ++i) {
925 domain = APR_ARRAY_IDX(domains, i, const char*);
926 if (md_dns_matches(domain, name))
927 return (domain[0] == '*' && domain[1] == '.');
928 }
929 return 0;
930}
931
932const char *md_util_schemify(apr_pool_t *p, const char *s, const char *def_scheme)
933{

Callers 1

link_md_to_serversFunction · 0.85

Calls 1

md_dns_matchesFunction · 0.85

Tested by

no test coverage detected