[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: |
Tue, 23 Apr 2019 20:03:24 +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 e1cf1a48 refactor for GNUnet_memcmp
e1cf1a48 is described below
commit e1cf1a48af5f486b6ef94a20335e5e7f52db367e
Author: ng0 <address@hidden>
AuthorDate: Tue Apr 23 18:03:16 2019 +0000
refactor for GNUnet_memcmp
---
src/lib/testing_api_cmd_refresh.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/lib/testing_api_cmd_refresh.c
b/src/lib/testing_api_cmd_refresh.c
index 9994eb4a..ec885581 100644
--- a/src/lib/testing_api_cmd_refresh.c
+++ b/src/lib/testing_api_cmd_refresh.c
@@ -611,9 +611,8 @@ link_cb (void *cls,
for (unsigned int i=0;i<num_coins;i++)
for (unsigned int j=0;j<num_coins;j++)
{
- if ( (0 == memcmp
- (&coin_privs[i], &fc[j].coin_priv,
- sizeof (struct TALER_CoinSpendPrivateKeyP))) &&
+ if ( (0 == GNUNET_memcmp
+ (&coin_privs[i], &fc[j].coin_priv)) &&
(0 == GNUNET_CRYPTO_rsa_signature_cmp
(fc[i].sig.rsa_signature,
sigs[j].rsa_signature)) &&
--
To stop receiving notification emails like this one, please contact
address@hidden