gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: do not crash on bogus signature


From: gnunet
Subject: [taler-exchange] branch master updated: do not crash on bogus signature on denomination key (2)
Date: Sat, 07 Dec 2019 17:49:04 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new c43f81d8 do not crash on bogus signature on denomination key (2)
c43f81d8 is described below

commit c43f81d871b0cedfb0afd037e725536fa043153b
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Dec 7 17:48:59 2019 +0100

    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(-)

diff --git a/src/exchange/taler-exchange-httpd_keystate.c 
b/src/exchange/taler-exchange-httpd_keystate.c
index 828f4837..e7b42d3c 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);
 }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]