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

Use test roots.pem in test

parent 2a16a028
No related branches found
No related tags found
No related merge requests found
...@@ -154,7 +154,7 @@ static void secure_test_add_port(grpc_server *server, const char *addr) { ...@@ -154,7 +154,7 @@ static void secure_test_add_port(grpc_server *server, const char *addr) {
static grpc_channel *secure_test_create_channel(const char *addr) { static grpc_channel *secure_test_create_channel(const char *addr) {
grpc_channel_credentials *ssl_creds = grpc_channel_credentials *ssl_creds =
grpc_ssl_credentials_create(NULL, NULL, NULL); grpc_ssl_credentials_create(test_root_cert, NULL, NULL);
grpc_arg ssl_name_override = {GRPC_ARG_STRING, grpc_arg ssl_name_override = {GRPC_ARG_STRING,
GRPC_SSL_TARGET_NAME_OVERRIDE_ARG, GRPC_SSL_TARGET_NAME_OVERRIDE_ARG,
{"foo.test.google.fr"}}; {"foo.test.google.fr"}};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment