Home
last modified time | relevance | path

Searched refs:tls_hostname_match_wrapper (Results 1 - 1 of 1) sorted by relevance

/third_party/nghttp2/src/
H A Dshrpx_tls_test.cc165 bool tls_hostname_match_wrapper(const char (&pattern)[N], in tls_hostname_match_wrapper() function
171 CU_ASSERT(tls_hostname_match_wrapper("example.com", "example.com")); in test_shrpx_tls_tls_hostname_match()
172 CU_ASSERT(tls_hostname_match_wrapper("example.com", "EXAMPLE.com")); in test_shrpx_tls_tls_hostname_match()
175 CU_ASSERT(tls_hostname_match_wrapper("*.example.com", "www.example.com")); in test_shrpx_tls_tls_hostname_match()
176 CU_ASSERT(tls_hostname_match_wrapper("*w.example.com", "www.example.com")); in test_shrpx_tls_tls_hostname_match()
177 CU_ASSERT(tls_hostname_match_wrapper("www*.example.com", "www1.example.com")); in test_shrpx_tls_tls_hostname_match()
179 tls_hostname_match_wrapper("www*.example.com", "WWW12.EXAMPLE.com")); in test_shrpx_tls_tls_hostname_match()
181 CU_ASSERT(!tls_hostname_match_wrapper("*.com", "example.com")); in test_shrpx_tls_tls_hostname_match()
182 CU_ASSERT(!tls_hostname_match_wrapper("*", "example.com")); in test_shrpx_tls_tls_hostname_match()
185 !tls_hostname_match_wrapper("blo in test_shrpx_tls_tls_hostname_match()
[all...]

Completed in 2 milliseconds