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: fix loop that check


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: fix loop that checks link response
Date: Thu, 27 Sep 2018 20:52:46 +0200

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

dold pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new e9c9ca73 fix loop that checks link response
e9c9ca73 is described below

commit e9c9ca736f6a9cd63695f6e425ad801658081991
Author: Florian Dold <address@hidden>
AuthorDate: Thu Sep 27 20:51:12 2018 +0200

    fix loop that checks link response
---
 src/exchange-lib/testing_api_cmd_refresh.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/exchange-lib/testing_api_cmd_refresh.c 
b/src/exchange-lib/testing_api_cmd_refresh.c
index 23fb4715..6075ad1c 100644
--- a/src/exchange-lib/testing_api_cmd_refresh.c
+++ b/src/exchange-lib/testing_api_cmd_refresh.c
@@ -627,14 +627,14 @@ link_cb (void *cls,
       for (unsigned int j=0;j<num_coins;j++)
       {
        if ( (0 == memcmp
-                (&coin_privs[i], &fc[i].coin_priv,
+                (&coin_privs[i], &fc[j].coin_priv,
                 sizeof (struct TALER_CoinSpendPrivateKeyP))) &&
             (0 == GNUNET_CRYPTO_rsa_signature_cmp
                 (fc[i].sig.rsa_signature,
-                 sigs[i].rsa_signature)) &&
+                 sigs[j].rsa_signature)) &&
             (0 == GNUNET_CRYPTO_rsa_public_key_cmp
                (fc[i].pk->key.rsa_public_key,
-                pubs[i].rsa_public_key)) )
+                pubs[j].rsa_public_key)) )
        {
          found++;
          break;

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



reply via email to

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