diff options
author | Alistair Veitch <aveitch@google.com> | 2015-08-28 11:00:02 -0700 |
---|---|---|
committer | Alistair Veitch <aveitch@google.com> | 2015-08-28 11:00:02 -0700 |
commit | ae7bbfcb92a519c5a97aae51b2e668cb2d75fe67 (patch) | |
tree | da337117b631a1eead2b984719476e42a29e7994 /test/core/security/fetch_oauth2.c | |
parent | b8552024179a2910f10d916e69495779271f9344 (diff) | |
parent | 9b1f91e7eac88ba477871a60912cc3b6ed3380ed (diff) |
merge to head
Diffstat (limited to 'test/core/security/fetch_oauth2.c')
-rw-r--r-- | test/core/security/fetch_oauth2.c | 6 |
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); |