diff options
author | Nathan Herring <nherring@google.com> | 2018-07-19 18:30:27 +0200 |
---|---|---|
committer | Nathan Herring <nherring@google.com> | 2018-07-19 18:30:27 +0200 |
commit | 3ed81c8d652f8c904fceff99ec16b559232c467f (patch) | |
tree | 3d2eea01e987a05b5e120161e667ab0a31a1e531 /test/cpp/util/cli_credentials.h | |
parent | 481c1d57e7fc92f74c79b9aa0f7c8f0eaa51000b (diff) |
Introduce --ssl_target flag to grpc_cli.
This allows the client to specify the host name of the remote server for the purposes of TLS certificate validation, useful for test certificates and machines with ephemeral IP
addresses with no associated DNS entries that have been assigned TLS certificates.
Diffstat (limited to 'test/cpp/util/cli_credentials.h')
-rw-r--r-- | test/cpp/util/cli_credentials.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/util/cli_credentials.h b/test/cpp/util/cli_credentials.h index b1358e77d8..8d662356de 100644 --- a/test/cpp/util/cli_credentials.h +++ b/test/cpp/util/cli_credentials.h @@ -30,6 +30,7 @@ class CliCredentials { virtual ~CliCredentials() {} virtual std::shared_ptr<grpc::ChannelCredentials> GetCredentials() const; virtual const grpc::string GetCredentialUsage() const; + virtual const grpc::string GetSslTargetNameOverride() const; }; } // namespace testing |