gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix ftbfs


From: gnunet
Subject: [taler-exchange] branch master updated: fix ftbfs
Date: Fri, 17 Apr 2020 14:19:14 +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 f934a81d fix ftbfs
f934a81d is described below

commit f934a81d49274938a19f3db1b0829647133eb1fc
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Apr 17 14:19:12 2020 +0200

    fix ftbfs
---
 src/util/test_crypto.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/util/test_crypto.c b/src/util/test_crypto.c
index 8135dfe3..99d197b6 100644
--- a/src/util/test_crypto.c
+++ b/src/util/test_crypto.c
@@ -90,6 +90,7 @@ test_planchets (void)
   struct TALER_PlanchetDetail pd;
   struct GNUNET_CRYPTO_RsaSignature *blind_sig;
   struct TALER_FreshCoin coin;
+  struct GNUNET_HashCode c_hash;
 
   dk_priv.rsa_private_key = GNUNET_CRYPTO_rsa_private_key_create (1024);
   dk_pub.rsa_public_key = GNUNET_CRYPTO_rsa_private_key_get_public (
@@ -98,6 +99,7 @@ test_planchets (void)
   GNUNET_assert (GNUNET_OK ==
                  TALER_planchet_prepare (&dk_pub,
                                          &ps,
+                                         &c_hash,
                                          &pd));
   blind_sig = GNUNET_CRYPTO_rsa_sign_blinded (dk_priv.rsa_private_key,
                                               pd.coin_ev,
@@ -107,7 +109,7 @@ test_planchets (void)
                  TALER_planchet_to_coin (&dk_pub,
                                          blind_sig,
                                          &ps,
-                                         &pd.c_hash,
+                                         &c_hash,
                                          &coin));
   GNUNET_CRYPTO_rsa_signature_free (blind_sig);
   GNUNET_CRYPTO_rsa_signature_free (coin.sig.rsa_signature);

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



reply via email to

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