summaryrefslogtreecommitdiff
path: root/src/util/taler-exchange-secmod-eddsa.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-21 13:30:07 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-21 13:30:07 +0100
commit9b8abc1b011e65d29b87e21625a55ba0ed652e87 (patch)
tree7118f7e8401265efe7dfafbdb49741b08894ff7e /src/util/taler-exchange-secmod-eddsa.c
parent5159badd0e999fbcd610e3db22b5415571d9fa54 (diff)
downloadexchange-9b8abc1b011e65d29b87e21625a55ba0ed652e87.tar.gz
exchange-9b8abc1b011e65d29b87e21625a55ba0ed652e87.tar.bz2
exchange-9b8abc1b011e65d29b87e21625a55ba0ed652e87.zip
-fix use after free
Diffstat (limited to 'src/util/taler-exchange-secmod-eddsa.c')
-rw-r--r--src/util/taler-exchange-secmod-eddsa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/taler-exchange-secmod-eddsa.c b/src/util/taler-exchange-secmod-eddsa.c
index a0f5675df..f49b9865e 100644
--- a/src/util/taler-exchange-secmod-eddsa.c
+++ b/src/util/taler-exchange-secmod-eddsa.c
@@ -1110,7 +1110,10 @@ run (void *cls,
(GNUNET_TIME_absolute_is_future (keys_head->anchor)) )
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Existing anchor is in the future. Refusing to start\n");
+ "Existing anchor is in %s the future. Refusing to start\n",
+ GNUNET_STRINGS_relative_time_to_string (
+ GNUNET_TIME_absolute_get_remaining (keys_head->anchor),
+ GNUNET_YES));
global_ret = EXIT_FAILURE;
GNUNET_SCHEDULER_shutdown ();
return;