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: Mon, 08 Apr 2019 20:16:11 +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 ffac5413 Refactor for GNUNET_memcmp
ffac5413 is described below

commit ffac5413332ec2e0bbd261b60589d7bc5a051e8b
Author: ng0 <address@hidden>
AuthorDate: Mon Apr 8 18:16:05 2019 +0000

    Refactor for GNUNET_memcmp
---
 src/exchange/taler-exchange-httpd_keystate.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_keystate.c 
b/src/exchange/taler-exchange-httpd_keystate.c
index 6cef785c..901ab6fa 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -720,9 +720,8 @@ reload_keys_denom_iter (void *cls,
                 alias);
     return GNUNET_OK;
   }
-  if (0 != memcmp (&dki->issue.properties.master,
-                   &TEH_master_public_key,
-                   sizeof (struct TALER_MasterPublicKeyP)))
+  if (0 != GNUNET_memcmp (&dki->issue.properties.master,
+                          &TEH_master_public_key))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Master key in denomination key file `%s' does not match! 
Skipping it.\n",
@@ -903,9 +902,8 @@ reload_keys_sign_iter (void *cls,
     return GNUNET_OK;
   }
 
-  if (0 != memcmp (&ski->issue.master_public_key,
-                   &TEH_master_public_key,
-                   sizeof (struct TALER_MasterPublicKeyP)))
+  if (0 != GNUNET_memcmp (&ski->issue.master_public_key,
+                          &TEH_master_public_key))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 "Master key in signing key file `%s' does not match! Skipping 
it.\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]