Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc228 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "foo.test.google.com.au") == 1); in check_server0_peer()
229 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "bar.test.google.com.au") == 1); in check_server0_peer()
230 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "bar.test.google.blah") == 0); in check_server0_peer()
231 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "foo.bar.test.google.com.au") == in check_server0_peer()
233 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "test.google.com.au") == 0); in check_server0_peer()
258 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "foo.test.google.fr") == 1); in check_server1_peer()
259 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "bar.test.google.fr") == 1); in check_server1_peer()
260 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "waterzooi.test.google.be") == 1); in check_server1_peer()
261 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "foo.test.youtube.com") == 1); in check_server1_peer()
262 GPR_ASSERT(tsi_ssl_peer_matches_name(peer, "bar.foo.test.google.com") == 0); in check_server1_peer()
[all …]
Dtransport_security_test.cc311 int result = tsi_ssl_peer_matches_name(&peer, entry->host_name); in test_peer_matches_name()
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.h289 int tsi_ssl_peer_matches_name(const tsi_peer* peer, const char* name);
Dssl_transport_security.cc1560 if (tsi_ssl_peer_matches_name(&impl->ssl_context_x509_subject_names[i], in ssl_server_handshaker_factory_servername_callback()
1909 int tsi_ssl_peer_matches_name(const tsi_peer* peer, const char* name) { in tsi_ssl_peer_matches_name() function
/external/grpc-grpc/src/core/lib/http/
Dhttpcli_security_connector.cc79 !tsi_ssl_peer_matches_name(&peer, c->secure_peer_name)) { in httpcli_ssl_check_peer()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc814 r = tsi_ssl_peer_matches_name(peer, peer_name);