Searched refs:Curl_cert_hostcheck (Results 1 – 10 of 10) sorted by relevance
/external/curl/tests/unit/ |
D | unit1397.c | 43 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/ |
D | openssl_hostname_validation.c | 94 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()
|
D | hostcheck.h | 27 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
|
D | hostcheck.c | 205 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname) in Curl_cert_hostcheck() function
|
/external/curl/lib/ |
D | hostcheck.h | 29 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
|
D | hostcheck.c | 128 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname) in Curl_cert_hostcheck() function
|
D | x509asn1.c | 1209 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/ |
D | test1397 | 20 Check wildcard certificate matching function Curl_cert_hostcheck
|
/external/curl/lib/vtls/ |
D | schannel_verify.c | 372 match_result = Curl_cert_hostcheck(cert_hostname, conn_hostname); in verify_host()
|
D | openssl.c | 1447 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()
|