aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/fixtures/chttp2_fake_security.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-31 15:59:13 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-31 15:59:13 -0700
commit245bd8875b4640104df433f6a432b5d63799bfb8 (patch)
tree5ddd592e172d9e7fec49300f54db6b0bdff7c275 /test/core/end2end/fixtures/chttp2_fake_security.c
parentae69ad1bcf0322200ebeed5476ee9978101beeb7 (diff)
parentcbdfaba7ae41634c66d1a32cbc2ea674a34be9c6 (diff)
Merge github.com:grpc/grpc into second-coming
Diffstat (limited to 'test/core/end2end/fixtures/chttp2_fake_security.c')
-rw-r--r--test/core/end2end/fixtures/chttp2_fake_security.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/end2end/fixtures/chttp2_fake_security.c b/test/core/end2end/fixtures/chttp2_fake_security.c
index a0a67939a2..3e64cc08e8 100644
--- a/test/core/end2end/fixtures/chttp2_fake_security.c
+++ b/test/core/end2end/fixtures/chttp2_fake_security.c
@@ -77,7 +77,8 @@ static void chttp2_init_client_secure_fullstack(grpc_end2end_test_fixture *f,
grpc_channel_args *client_args,
grpc_credentials *creds) {
fullstack_secure_fixture_data *ffd = f->fixture_data;
- f->client = grpc_secure_channel_create(creds, ffd->localaddr, client_args);
+ f->client =
+ grpc_secure_channel_create(creds, ffd->localaddr, client_args, NULL);
GPR_ASSERT(f->client != NULL);
grpc_credentials_release(creds);
}
@@ -127,7 +128,7 @@ static void chttp2_init_server_fake_secure_fullstack(
grpc_server_credentials *fake_ts_creds =
grpc_fake_transport_security_server_credentials_create();
if (fail_server_auth_check(server_args)) {
- grpc_auth_metadata_processor processor = {process_auth_failure, NULL};
+ grpc_auth_metadata_processor processor = {process_auth_failure, NULL, NULL};
grpc_server_credentials_set_auth_metadata_processor(fake_ts_creds,
processor);
}