Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/security/
Dsecurity_connector_test.cc248 const char* expected_sans[] = {"san1", "san2", "san3"}; in test_cn_and_multiple_sans_ssl_peer_to_auth_context() local
251 GPR_ASSERT(tsi_construct_peer(3 + GPR_ARRAY_SIZE(expected_sans), &peer) == in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
262 for (i = 0; i < GPR_ARRAY_SIZE(expected_sans); i++) { in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
265 expected_sans[i], &peer.properties[3 + i]) == TSI_OK); in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
270 GPR_ASSERT(check_identity(ctx, GRPC_X509_SAN_PROPERTY_NAME, expected_sans, in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
271 GPR_ARRAY_SIZE(expected_sans))); in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
291 const char* expected_sans[] = {"san1", "san2", "san3"}; in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context() local
293 GPR_ASSERT(tsi_construct_peer(5 + GPR_ARRAY_SIZE(expected_sans), &peer) == in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context()
308 for (i = 0; i < GPR_ARRAY_SIZE(expected_sans); i++) { in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context()
311 expected_sans[i], &peer.properties[5 + i]) == TSI_OK); in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context()
[all …]