summaryrefslogtreecommitdiff
path: root/src/mint
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-14 16:55:59 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-14 16:55:59 +0200
commit8a9b890e4d6014196350a6966d15e268835ed15a (patch)
tree83d75c53478ce2c8d8f1a3233f381c162e216c97 /src/mint
parentf90a745abe0223d591567197983ddf60fcf70f59 (diff)
downloadexchange-8a9b890e4d6014196350a6966d15e268835ed15a.tar.gz
exchange-8a9b890e4d6014196350a6966d15e268835ed15a.tar.bz2
exchange-8a9b890e4d6014196350a6966d15e268835ed15a.zip
-check return value
Diffstat (limited to 'src/mint')
-rw-r--r--src/mint/taler-mint-httpd_keystate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_keystate.c b/src/mint/taler-mint-httpd_keystate.c
index 0d4fc40e0..ec09ab441 100644
--- a/src/mint/taler-mint-httpd_keystate.c
+++ b/src/mint/taler-mint-httpd_keystate.c
@@ -589,6 +589,8 @@ TMH_KS_denomination_key_lookup (const struct TMH_KS_StateHandle *key_state,
&hc);
dki = GNUNET_CONTAINER_multihashmap_get (key_state->denomkey_map,
&hc);
+ if (NULL == dki)
+ return NULL;
now = GNUNET_TIME_absolute_get ();
if (now.abs_value_us <
GNUNET_TIME_absolute_ntoh (dki->issue.properties.start).abs_value_us)