Skip to content
Snippets Groups Projects
Commit 12a0a2c2 authored by yang-g's avatar yang-g
Browse files

move tls type name to .cc file

parent 4c8aed3d
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@
namespace grpc {
namespace testing {
const char kTlsCredentialsType[] = "TLS_CREDENTIALS";
std::shared_ptr<ChannelCredentials> GetChannelCredentials(
const grpc::string& type, ChannelArguments* args) {
if (type == kInsecureCredentialsType) {
......
......@@ -44,7 +44,6 @@ namespace grpc {
namespace testing {
const char kInsecureCredentialsType[] = "INSECURE_CREDENTIALS";
const char kTlsCredentialsType[] = "TLS_CREDENTIALS";
// Provide channel credentials according to the given type. Alter the channel
// arguments if needed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment