commit 6d4c780b1e6ae95061e53f6d54a52031fe600860
parent 342f8cbf12ba2516428ef58d2f00b664f9738639
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 29 Oct 2023 16:17:35 +0100
handle not found
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
@@ -4179,6 +4179,11 @@ TEH_keys_get_timing (const struct TALER_ExchangePublicKeyP *exchange_pub,
pid.public_key = exchange_pub->eddsa_pub;
hsk = GNUNET_CONTAINER_multipeermap_get (ksh->helpers->esign_keys,
&pid);
+ if (NULL == hsk)
+ {
+ GNUNET_break (0);
+ return GNUNET_NO;
+ }
meta->start = hsk->start_time;
meta->expire_sign = GNUNET_TIME_absolute_to_timestamp (