gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: Refactor for GNUNET


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: Refactor for GNUNET_memcmp
Date: Wed, 17 Apr 2019 20:13:38 +0200

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

ng0 pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new c1d6806b Refactor for GNUNET_memcmp
c1d6806b is described below

commit c1d6806b5746b5d0668e640d90531b147c1774b1
Author: ng0 <address@hidden>
AuthorDate: Wed Apr 17 18:13:14 2019 +0000

    Refactor for GNUNET_memcmp
---
 src/exchange-tools/taler-exchange-keycheck.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/exchange-tools/taler-exchange-keycheck.c 
b/src/exchange-tools/taler-exchange-keycheck.c
index d5823773..c657454a 100644
--- a/src/exchange-tools/taler-exchange-keycheck.c
+++ b/src/exchange-tools/taler-exchange-keycheck.c
@@ -163,9 +163,8 @@ denomkeys_iter (void *cls,
   }
   GNUNET_CRYPTO_rsa_public_key_hash (dki->denom_pub.rsa_public_key,
                                      &hc);
-  if (0 != memcmp (&hc,
-                   &dki->issue.properties.denom_hash,
-                   sizeof (struct GNUNET_HashCode)))
+  if (0 != GNUNET_memcmp (&hc,
+                          &dki->issue.properties.denom_hash))
   {
     fprintf (stderr,
              "Public key for `%s' does not match signature\n",

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



reply via email to

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