aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/security/json_token.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/security/json_token.c')
-rw-r--r--src/core/security/json_token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/security/json_token.c b/src/core/security/json_token.c
index 9b1ea255ae..021912f333 100644
--- a/src/core/security/json_token.c
+++ b/src/core/security/json_token.c
@@ -49,7 +49,7 @@
/* --- Constants. --- */
/* 1 hour max. */
-const gpr_timespec grpc_max_auth_token_lifetime = {3600, 0};
+const gpr_timespec grpc_max_auth_token_lifetime = {3600, 0, GPR_TIMESPAN};
#define GRPC_JWT_RSA_SHA256_ALGORITHM "RS256"
#define GRPC_JWT_TYPE "JWT"