Skip to content

Commit

Permalink
GoogleDefaultCredentials use SSL under the covers; include that case.
Browse files Browse the repository at this point in the history
  • Loading branch information
Capstan committed Jul 19, 2018
1 parent 8c7ce55 commit e1d94df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cpp/util/cli_credentials.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const grpc::string CliCredentials::GetCredentialUsage() const {
}

const grpc::string CliCredentials::GetSslTargetNameOverride() const {
return FLAGS_enable_ssl ? FLAGS_ssl_target : "";
return (FLAGS_enable_ssl || FLAGS_use_auth) ? FLAGS_ssl_target : "";
}

} // namespace testing
Expand Down

0 comments on commit e1d94df

Please sign in to comment.