diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2015-10-02 13:37:30 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2015-10-02 13:37:30 -0700 |
commit | 1f8efa266d585dc5a4d450da3b27e758e71d3250 (patch) | |
tree | d8517e14a808d9ddac4b120992f91a2d218b3d3c /test/cpp/interop/client.cc | |
parent | 7a94236d698477636dd06282f12f706cad527029 (diff) | |
parent | 54db83d06d9655dcc8ef1c1359538bc1e13031d6 (diff) |
Merge pull request #3386 from yang-g/enable_ssl
enable_ssl to use_tls
Diffstat (limited to 'test/cpp/interop/client.cc')
-rw-r--r-- | test/cpp/interop/client.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/interop/client.cc b/test/cpp/interop/client.cc index 8f5ea0084f..dbe29395b4 100644 --- a/test/cpp/interop/client.cc +++ b/test/cpp/interop/client.cc @@ -45,7 +45,7 @@ #include "test/cpp/interop/interop_client.h" #include "test/cpp/util/test_config.h" -DEFINE_bool(enable_ssl, false, "Whether to use ssl/tls."); +DEFINE_bool(use_tls, false, "Whether to use 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"); @@ -143,7 +143,7 @@ int main(int argc, char** argv) { client.DoEmptyStream(); client.DoStatusWithMessage(); // service_account_creds and jwt_token_creds can only run with ssl. - if (FLAGS_enable_ssl) { + if (FLAGS_use_tls) { grpc::string json_key = GetServiceAccountJsonKey(); client.DoJwtTokenCreds(json_key); client.DoOauth2AuthToken(FLAGS_default_service_account, |