aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-25 07:06:30 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-25 07:06:30 -0700
commit5d4d1ee34ecd0669c63c675927e4364fcfc67fb9 (patch)
treee2064e71246bda36cc6e720a5e171bccba3be81b /test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c
parent25bf313c5f1cf620879232d864c69b25c39e3f4c (diff)
parente289e52436505e73440854ee6f8e5ddda5750929 (diff)
Merge github.com:grpc/grpc into naming-crisis
Diffstat (limited to 'test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c')
-rw-r--r--test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c b/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c
index d82e623f22..7f11028cb5 100644
--- a/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c
+++ b/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c
@@ -79,7 +79,7 @@ static void process_oauth2_success(void *state, grpc_auth_context *ctx,
client_identity);
GPR_ASSERT(grpc_auth_context_set_peer_identity_property_name(
ctx, client_identity_property_name) == 1);
- cb(user_data, oauth2, 1, 1);
+ cb(user_data, oauth2, 1, NULL, 0, GRPC_STATUS_OK, NULL);
}
static void process_oauth2_failure(void *state, grpc_auth_context *ctx,
@@ -90,7 +90,7 @@ static void process_oauth2_failure(void *state, grpc_auth_context *ctx,
find_metadata(md, md_count, "Authorization", oauth2_md);
GPR_ASSERT(state == NULL);
GPR_ASSERT(oauth2 != NULL);
- cb(user_data, oauth2, 1, 0);
+ cb(user_data, oauth2, 1, NULL, 0, GRPC_STATUS_UNAUTHENTICATED, NULL);
}
static grpc_end2end_test_fixture chttp2_create_fixture_secure_fullstack(