Lines Matching refs:match
1868 static int tls_match_altsubject(X509 *cert, const char *match) in tls_match_altsubject() argument
1874 pos = match; in tls_match_altsubject()
1912 static int domain_suffix_match(const u8 *val, size_t len, const char *match, in domain_suffix_match() argument
1928 if (os_strncasecmp((const char *) val + len - match_len, match, in domain_suffix_match()
2125 static int tls_match_dn_field(X509 *cert, const char *match) in tls_match_dn_field() argument
2136 while ((token = cstr_token(match, "/", &last))) { in tls_match_dn_field()
2140 match); in tls_match_dn_field()
2158 static int tls_match_suffix_helper(X509 *cert, const char *match, in tls_match_suffix_helper() argument
2169 full ? "": "suffix ", match); in tls_match_suffix_helper()
2183 match, match_len, full) == 1) { in tls_match_suffix_helper()
2215 match, match_len, full) == 1) { in tls_match_suffix_helper()
2229 static int tls_match_suffix(X509 *cert, const char *match, int full) in tls_match_suffix() argument
2238 while ((token = cstr_token(match, ";", &last))) { in tls_match_suffix()
2502 char *match, *altmatch, *suffix_match, *domain_match; in tls_verify_cb() local
2530 match = conn->subject_match; in tls_verify_cb()
2641 if (depth == 0 && match && os_strstr(buf, match) == NULL) { in tls_verify_cb()
2643 "match with '%s'", buf, match); in tls_verify_cb()