From c43f81d871b0cedfb0afd037e725536fa043153b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 7 Dec 2019 17:48:59 +0100 Subject: do not crash on bogus signature on denomination key (2) --- src/exchange/taler-exchange-httpd_keystate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exchange/taler-exchange-httpd_keystate.c') diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 828f48373..e7b42d3c9 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -1625,7 +1625,6 @@ reload_public_denoms_cb (void *cls, dki.denom_priv.rsa_private_key = NULL; /* not available! */ dki.denom_pub.rsa_public_key = denom_pub->rsa_public_key; dki.issue = *issue; - /* we can assert here as we checked for duplicates just above */ ret = store_in_map (rfc->key_state->denomkey_map, &dki /* makes a deep copy of dki */); if (GNUNET_SYSERR == ret) @@ -1636,6 +1635,7 @@ reload_public_denoms_cb (void *cls, GNUNET_h2s (&issue->properties.denom_hash)); return; } + /* we can assert here as we checked for duplicates just above */ GNUNET_assert (GNUNET_OK == ret); } -- cgit v1.2.3