Home
last modified time | relevance | path

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

/external/curl/tests/unit/
Dunit1397.c43 fail_unless(Curl_cert_hostcheck("www.example.com", "www.example.com"),
45 fail_unless(Curl_cert_hostcheck("*.example.com", "www.example.com"),
47 fail_unless(Curl_cert_hostcheck("xxx*.example.com", "xxxwww.example.com"),
49 fail_unless(Curl_cert_hostcheck("f*.example.com", "foo.example.com"),
51 fail_unless(Curl_cert_hostcheck("192.168.0.0", "192.168.0.0"),
54 fail_if(Curl_cert_hostcheck("xxx.example.com", "www.example.com"), "bad 1");
55 fail_if(Curl_cert_hostcheck("*", "www.example.com"), "bad 2");
56 fail_if(Curl_cert_hostcheck("*.*.com", "www.example.com"), "bad 3");
57 fail_if(Curl_cert_hostcheck("*.example.com", "baa.foo.example.com"), "bad 4");
58 fail_if(Curl_cert_hostcheck("f*.example.com", "baa.example.com"), "bad 5");
[all …]
/external/libevent/sample/
Dopenssl_hostname_validation.c94 if (Curl_cert_hostcheck(common_name_str, hostname) == CURL_HOST_MATCH) { in matches_common_name()
138 if (Curl_cert_hostcheck(dns_name, hostname) in matches_subject_alternative_name()
Dhostcheck.h27 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
Dhostcheck.c205 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname) in Curl_cert_hostcheck() function
/external/curl/lib/
Dhostcheck.h29 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
Dhostcheck.c128 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname) in Curl_cert_hostcheck() function
Dx509asn1.c1209 matched = Curl_cert_hostcheck(dnsname, hostname); in Curl_verifyhost()
1268 else if(Curl_cert_hostcheck((const char *) dnsname, hostname)) { in Curl_verifyhost()
/external/curl/tests/data/
Dtest139720 Check wildcard certificate matching function Curl_cert_hostcheck
/external/curl/lib/vtls/
Dschannel_verify.c372 match_result = Curl_cert_hostcheck(cert_hostname, conn_hostname); in verify_host()
Dopenssl.c1447 if(Curl_cert_hostcheck(match_pattern2, hostname)) { in subj_alt_hostcheck()
1468 if(Curl_cert_hostcheck(match_pattern, hostname)) {
1681 else if(!Curl_cert_hostcheck((const char *)peer_CN, hostname)) { in verifyhost()