[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix timestamps
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix timestamps |
Date: |
Sat, 21 Jul 2018 12:50:53 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 8b3dd615a fix timestamps
8b3dd615a is described below
commit 8b3dd615a1c7501e19e6d6733c6ada71eb2eadb4
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sat Jul 21 12:50:50 2018 +0200
fix timestamps
---
src/reclaim/jwt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/reclaim/jwt.c b/src/reclaim/jwt.c
index 41a3747ed..cb1213dad 100644
--- a/src/reclaim/jwt.c
+++ b/src/reclaim/jwt.c
@@ -140,13 +140,13 @@ jwt_create_from_list (const struct
GNUNET_CRYPTO_EcdsaPublicKey *aud_key,
"aud", json_string (audience));
//iat
json_object_set_new (body,
- "iat", json_integer (time_now.abs_value_us));
+ "iat", json_integer (time_now.abs_value_us /
(1000*1000)));
//exp
json_object_set_new (body,
- "exp", json_integer (exp_time.abs_value_us));
+ "exp", json_integer (exp_time.abs_value_us /
(1000*1000)));
//nbf
json_object_set_new (body,
- "nbf", json_integer (time_now.abs_value_us));
+ "nbf", json_integer (time_now.abs_value_us /
(1000*1000)));
//nonce
if (NULL != nonce)
json_object_set_new (body,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: fix timestamps,
gnunet <=