diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-12-07 17:48:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-12-07 17:48:59 +0100 |
commit | c43f81d871b0cedfb0afd037e725536fa043153b (patch) | |
tree | 5d0cfafe6e0b48b6dcfa38f4bd232c596cd9c861 /src | |
parent | d4d590bcdab735949ebbc27c7e568647ed442009 (diff) |
do not crash on bogus signature on denomination key (2)
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |