aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-24 21:11:26 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-24 21:11:26 -0800
commit36ccead4039872e02b85f6c99e899fc9739bc743 (patch)
tree5863090ab020415d9fada86bc96c279bdac08df8 /test/cpp
parent783eddfd6b56a9d13c31fc41b38c15fd4d71ab59 (diff)
parent0170a6c662337a1d9c741fa466d3a26723f2d5cf (diff)
Merge pull request #735 from jboeuf/fix_ssl_san
Verifying the peer name on the X509 Certs correctly.
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/interop/client.cc2
-rw-r--r--test/cpp/util/create_test_channel.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/interop/client.cc b/test/cpp/interop/client.cc
index 78f2063c45..acfaa87ec8 100644
--- a/test/cpp/interop/client.cc
+++ b/test/cpp/interop/client.cc
@@ -57,7 +57,7 @@ DEFINE_bool(enable_ssl, false, "Whether to use ssl/tls.");
DEFINE_bool(use_prod_roots, false, "True to use SSL roots for google");
DEFINE_int32(server_port, 0, "Server port.");
DEFINE_string(server_host, "127.0.0.1", "Server host to connect to");
-DEFINE_string(server_host_override, "foo.test.google.com",
+DEFINE_string(server_host_override, "foo.test.google.fr",
"Override the server host which is sent in HTTP header");
DEFINE_string(test_case, "large_unary",
"Configure different test cases. Valid options are: "
diff --git a/test/cpp/util/create_test_channel.cc b/test/cpp/util/create_test_channel.cc
index be6c567060..745496f463 100644
--- a/test/cpp/util/create_test_channel.cc
+++ b/test/cpp/util/create_test_channel.cc
@@ -93,7 +93,7 @@ std::shared_ptr<ChannelInterface> CreateTestChannel(
// Shortcut for end2end and interop tests.
std::shared_ptr<ChannelInterface> CreateTestChannel(const grpc::string& server,
bool enable_ssl) {
- return CreateTestChannel(server, "foo.test.google.com", enable_ssl, false);
+ return CreateTestChannel(server, "foo.test.google.fr", enable_ssl, false);
}
} // namespace grpc