diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-02-23 15:57:14 -0800 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-02-23 16:41:26 -0800 |
commit | 597a4f2273f9dda0dbac45b021706ce8b715f93c (patch) | |
tree | 4a7156731efc3fa40ad3cf7e43455d8cc3050c56 /test/core/end2end/tests/request_with_large_metadata_legacy.c | |
parent | 571a9c8df47db831de0ea40c500bbc790743c7b2 (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/request_with_large_metadata_legacy.c')
-rw-r--r-- | test/core/end2end/tests/request_with_large_metadata_legacy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/request_with_large_metadata_legacy.c b/test/core/end2end/tests/request_with_large_metadata_legacy.c index bc3b380013..85926aac14 100644 --- a/test/core/end2end/tests/request_with_large_metadata_legacy.c +++ b/test/core/end2end/tests/request_with_large_metadata_legacy.c @@ -121,7 +121,7 @@ static void test_request_with_large_metadata(grpc_end2end_test_config config) { ((char*)meta.value)[large_size] = 0; meta.value_length = large_size; - 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); @@ -131,7 +131,7 @@ static void test_request_with_large_metadata(grpc_end2end_test_config config) { GPR_ASSERT(GRPC_CALL_OK == grpc_call_invoke_old(c, f.client_cq, tag(2), tag(3), 0)); - cq_expect_server_rpc_new(v_server, &s, tag(100), "/foo", "foo.test.google.com", + cq_expect_server_rpc_new(v_server, &s, tag(100), "/foo", "foo.test.google.fr", deadline, "key", meta.value, NULL); cq_verify(v_server); |