Home
last modified time | relevance | path

Searched refs:patternlen (Results 1 – 1 of 1) sorted by relevance

/curl/lib/vtls/
H A Dhostcheck.c50 const char *pattern, size_t patternlen) in pmatch() argument
52 if(hostlen != patternlen) in pmatch()
84 size_t patternlen) in hostmatch() argument
89 DEBUGASSERT(patternlen); in hostmatch()
96 if(pattern[patternlen-1]=='.') in hostmatch()
97 patternlen--; in hostmatch()
100 return pmatch(hostname, hostlen, pattern, patternlen); in hostmatch()
108 pattern_label_end = memchr(pattern, '.', patternlen); in hostmatch()
110 (memrchr(pattern, '.', patternlen) == pattern_label_end)) in hostmatch()
111 return pmatch(hostname, hostlen, pattern, patternlen); in hostmatch()
[all …]

Completed in 5 milliseconds