aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/invoke_large_request.c
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-02-23 15:57:14 -0800
committerGravatar Julien Boeuf <jboeuf@google.com>2015-02-23 16:41:26 -0800
commit597a4f2273f9dda0dbac45b021706ce8b715f93c (patch)
tree4a7156731efc3fa40ad3cf7e43455d8cc3050c56 /test/core/end2end/tests/invoke_large_request.c
parent571a9c8df47db831de0ea40c500bbc790743c7b2 (diff)
Verifying the peer name on the X509 Certs correctly.
- The SANs take precedence over the CN. - The CN is only checked if there are no SANs. - Fixing the tests as the test cert did not list *.test.google.com in the SANs. Will fix the test cert another time...
Diffstat (limited to 'test/core/end2end/tests/invoke_large_request.c')
-rw-r--r--test/core/end2end/tests/invoke_large_request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/invoke_large_request.c b/test/core/end2end/tests/invoke_large_request.c
index 2a302e2b13..86a0fbdb70 100644
--- a/test/core/end2end/tests/invoke_large_request.c
+++ b/test/core/end2end/tests/invoke_large_request.c
@@ -122,7 +122,7 @@ static void test_invoke_large_request(grpc_end2end_test_config config) {
GPR_ASSERT(GRPC_CALL_OK == grpc_server_request_call_old(f.server, tag(100)));
- c = grpc_channel_create_call_old(f.client, "/foo", "foo.test.google.com",
+ c = grpc_channel_create_call_old(f.client, "/foo", "foo.test.google.fr",
deadline);
GPR_ASSERT(c);
@@ -139,7 +139,7 @@ static void test_invoke_large_request(grpc_end2end_test_config config) {
cq_verify_empty(v_client);
cq_expect_server_rpc_new(v_server, &s, tag(100), "/foo",
- "foo.test.google.com", deadline, NULL);
+ "foo.test.google.fr", deadline, NULL);
cq_verify(v_server);
GPR_ASSERT(GRPC_CALL_OK ==