-check return value
This commit is contained in:
parent
f90a745abe
commit
8a9b890e4d
@ -589,6 +589,8 @@ TMH_KS_denomination_key_lookup (const struct TMH_KS_StateHandle *key_state,
|
|||||||
&hc);
|
&hc);
|
||||||
dki = GNUNET_CONTAINER_multihashmap_get (key_state->denomkey_map,
|
dki = GNUNET_CONTAINER_multihashmap_get (key_state->denomkey_map,
|
||||||
&hc);
|
&hc);
|
||||||
|
if (NULL == dki)
|
||||||
|
return NULL;
|
||||||
now = GNUNET_TIME_absolute_get ();
|
now = GNUNET_TIME_absolute_get ();
|
||||||
if (now.abs_value_us <
|
if (now.abs_value_us <
|
||||||
GNUNET_TIME_absolute_ntoh (dki->issue.properties.start).abs_value_us)
|
GNUNET_TIME_absolute_ntoh (dki->issue.properties.start).abs_value_us)
|
||||||
|
Loading…
Reference in New Issue
Block a user