aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/security/fetch_oauth2.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-27 12:43:25 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-27 12:43:25 -0700
commit08348334e53a299934626b29d97f829917a811f0 (patch)
tree6821ecf54a1c0782a45bd8f6089e0372fb1d6aa5 /test/core/security/fetch_oauth2.c
parent1c3b21330632a12e14f6d3130db99b03940075fc (diff)
parent5cc1e2ec4b0e6a100dab285c74aed8233add8776 (diff)
Merge pull request #2947 from jboeuf/grpc_security_abi
First draft at addressing #1799 for grpc_security.
Diffstat (limited to 'test/core/security/fetch_oauth2.c')
-rw-r--r--test/core/security/fetch_oauth2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/security/fetch_oauth2.c b/test/core/security/fetch_oauth2.c
index 64c4dde5d9..7354a9f8f7 100644
--- a/test/core/security/fetch_oauth2.c
+++ b/test/core/security/fetch_oauth2.c
@@ -56,7 +56,7 @@ static grpc_credentials *create_service_account_creds(
}
return grpc_service_account_credentials_create(
(const char *)GPR_SLICE_START_PTR(json_key), scope,
- grpc_max_auth_token_lifetime);
+ grpc_max_auth_token_lifetime, NULL);
}
static grpc_credentials *create_refresh_token_creds(
@@ -69,7 +69,7 @@ static grpc_credentials *create_refresh_token_creds(
exit(1);
}
return grpc_refresh_token_credentials_create(
- (const char *)GPR_SLICE_START_PTR(refresh_token));
+ (const char *)GPR_SLICE_START_PTR(refresh_token), NULL);
}
int main(int argc, char **argv) {
@@ -112,7 +112,7 @@ int main(int argc, char **argv) {
"Ignoring json key and scope to get a token from the GCE "
"metadata server.");
}
- creds = grpc_compute_engine_credentials_create();
+ creds = grpc_compute_engine_credentials_create(NULL);
if (creds == NULL) {
gpr_log(GPR_ERROR, "Could not create gce credentials.");
exit(1);