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 lib/exchan


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: Refactor lib/exchange_api_common.c for GNUNET_memcmp
Date: Mon, 08 Apr 2019 20:48:51 +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 8c591b4f Refactor lib/exchange_api_common.c for GNUNET_memcmp
8c591b4f is described below

commit 8c591b4f1a16d5d2668d8684bb477dd5a2b3d74a
Author: ng0 <address@hidden>
AuthorDate: Mon Apr 8 18:48:33 2019 +0000

    Refactor lib/exchange_api_common.c for GNUNET_memcmp
---
 src/lib/exchange_api_common.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c
index 6b0aa6ff..a9c6e16c 100644
--- a/src/lib/exchange_api_common.c
+++ b/src/lib/exchange_api_common.c
@@ -342,9 +342,8 @@ TALER_EXCHANGE_get_exchange_signing_key_info (const struct 
TALER_EXCHANGE_Keys *
     const struct TALER_EXCHANGE_SigningPublicKey *spk;
 
     spk = &keys->sign_keys[i];
-    if (0 == memcmp (exchange_pub,
-                    &spk->key,
-                    sizeof (struct TALER_ExchangePublicKeyP)))
+    if (0 == GNUNET_memcmp (exchange_pub,
+                            &spk->key))
       return spk;
   }
   return NULL;

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



reply via email to

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