aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-02-01 20:48:40 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-02-01 20:48:40 +0100
commit6ca7c8b8722f55a6701e8f8fb1dd22c4696a7fb3 (patch)
tree91a6cc8396b5ae62cc1a278efc74fb72fd8a16f6 /test
parent8382829f30ccead02835f6fece24f476b3f407bf (diff)
parent6d7ae08a3376377e11f8e3fe043e0b45dbde48aa (diff)
Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable
Diffstat (limited to 'test')
-rw-r--r--test/core/security/json_token_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/security/json_token_test.c b/test/core/security/json_token_test.c
index 33de248e6a..7c01a9ce5c 100644
--- a/test/core/security/json_token_test.c
+++ b/test/core/security/json_token_test.c
@@ -330,7 +330,7 @@ static void check_jwt_claim(grpc_json *claim, const char *expected_audience,
issue_time.tv_sec = strtol(iat->value, NULL, 10);
parsed_lifetime = gpr_time_sub(expiration, issue_time);
- GPR_ASSERT(parsed_lifetime.tv_sec == grpc_max_auth_token_lifetime.tv_sec());
+ GPR_ASSERT(parsed_lifetime.tv_sec == grpc_max_auth_token_lifetime().tv_sec);
}
static void check_jwt_signature(const char *b64_signature, RSA *rsa_key,