aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-10-29 16:17:35 +0100
committerChristian Grothoff <christian@grothoff.org>2023-10-29 16:17:35 +0100
commit6d4c780b1e6ae95061e53f6d54a52031fe600860 (patch)
tree0d1d6e6ecf51af738e3321cf2c5cb23fc5473b18 /src
parent342f8cbf12ba2516428ef58d2f00b664f9738639 (diff)
downloadexchange-6d4c780b1e6ae95061e53f6d54a52031fe600860.tar.xz
handle not found
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index 9448ce36f..ec49607cf 100644
--- 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 (