Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc1504 const char* name_subdomain = nullptr; in does_entry_match_name() local
1529 name_subdomain = strchr(name, '.'); in does_entry_match_name()
1530 if (name_subdomain == nullptr) return 0; in does_entry_match_name()
1531 name_subdomain_length = strlen(name_subdomain); in does_entry_match_name()
1533 name_subdomain++; /* Starts after the dot. */ in does_entry_match_name()
1537 dot = strchr(name_subdomain, '.'); in does_entry_match_name()
1538 if ((dot == nullptr) || (dot == &name_subdomain[name_subdomain_length - 1])) { in does_entry_match_name()
1539 gpr_log(GPR_ERROR, "Invalid toplevel subdomain: %s", name_subdomain); in does_entry_match_name()
1542 if (name_subdomain[name_subdomain_length - 1] == '.') { in does_entry_match_name()
1546 strncmp(entry, name_subdomain, entry_length) == 0); in does_entry_match_name()