commit 23ecdf47b2d6c1031a1d0383d677c4c786bdb1fd
parent 5c02977688157bbcbb52ae25cc66b4a3f9d4f6b5
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Fri, 14 Aug 2026 22:56:48 +0200
use rounded time
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
@@ -143,13 +143,13 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
langs = NULL;
a = GNUNET_TIME_relative_to_absolute (MAX_TERMS_CACHING);
- m = GNUNET_TIME_absolute_to_timestamp (a);
/* Round up to next full day to ensure the expiration
time does not become a fingerprint! */
a = GNUNET_TIME_absolute_round_down (a,
MAX_TERMS_CACHING);
a = GNUNET_TIME_absolute_add (a,
MAX_TERMS_CACHING);
+ m = GNUNET_TIME_absolute_to_timestamp (a);
TALER_MHD_get_date_string (m.abs_time,
dat);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,