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: memcmp


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: memcmp
Date: Thu, 18 Apr 2019 17:28:18 +0200

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 d82068a1 memcmp
d82068a1 is described below

commit d82068a1214e7e0ca894e9d7f4dd8b3daaf10ba4
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Apr 18 17:28:15 2019 +0200

    memcmp
---
 src/lib/exchange_api_handle.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 8dbf2b5d..cbcde724 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -708,9 +708,8 @@ update_auditors (struct TALER_EXCHANGE_Handle *exchange)
          NULL != a;
          a = a->next)
     {
-      if (0 == memcmp (&auditor->auditor_pub,
-                       &a->auditor_pub,
-                       sizeof (struct TALER_AuditorPublicKeyP)))
+      if (0 == GNUNET_memcmp (&auditor->auditor_pub,
+                              &a->auditor_pub))
       {
         ale = a;
         break;
@@ -766,13 +765,13 @@ TALER_denoms_cmp (struct TALER_EXCHANGE_DenomPublicKey 
*denom1,
   if (0 != GNUNET_memcmp (denom1,
                           denom2))
   {
-    denom1->key.rsa_public_key = tmp1; 
+    denom1->key.rsa_public_key = tmp1;
     denom2->key.rsa_public_key = tmp2;
 
     return 1;
   }
 
-  denom1->key.rsa_public_key = tmp1; 
+  denom1->key.rsa_public_key = tmp1;
   denom2->key.rsa_public_key = tmp2;
 
   return 0;
@@ -1843,7 +1842,7 @@ request_keys (void *cls)
              "last_issue_date=%llu&",
              (unsigned long long) 
exchange->key_data.last_denom_issue_date.abs_value_us / 1000000LLU);
   }
-  
+
   if (GNUNET_YES == exchange->with_now)
   {
     TALER_LOG_DEBUG ("Faking now to GET /keys: %s\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]