[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: -fix test FTBFS
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: -fix test FTBFS |
Date: |
Sat, 28 Oct 2023 19:49:03 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 2b694efd -fix test FTBFS
2b694efd is described below
commit 2b694efd1542fd1b8415ebbb1ca2965711299eb0
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Oct 28 19:49:01 2023 +0200
-fix test FTBFS
---
contrib/wallet-core | 2 +-
src/backenddb/test_merchantdb.c | 12 +++++++++---
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/contrib/wallet-core b/contrib/wallet-core
index 4cb67e7a..ada435bc 160000
--- a/contrib/wallet-core
+++ b/contrib/wallet-core
@@ -1 +1 @@
-Subproject commit 4cb67e7aefdc7bed3e4dee4b53c0a0be382e6897
+Subproject commit ada435bc5489e1023e63f1948874ca9ec88d6430
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
index 94f47f70..0ca3e57c 100644
--- a/src/backenddb/test_merchantdb.c
+++ b/src/backenddb/test_merchantdb.c
@@ -5327,6 +5327,8 @@ struct TestRewards_Closure
static void
pre_test_rewards (struct TestRewards_Closure *cls)
{
+ struct GNUNET_CRYPTO_BlindedSignature *us;
+
/* Instance */
make_instance ("test_inst_rewards",
&cls->instance);
@@ -5380,10 +5382,14 @@ pre_test_rewards (struct TestRewards_Closure *cls)
}
cls->pickup_priv = GNUNET_CRYPTO_rsa_private_key_create (2048);
- cls->pickup_sig.cipher = TALER_DENOMINATION_RSA;
- cls->pickup_sig.details.blinded_rsa_signature
+ us = GNUNET_new (struct GNUNET_CRYPTO_BlindedSignature);
+ cls->pickup_sig.blinded_sig = us;
+ us->cipher = GNUNET_CRYPTO_BSA_RSA;
+ us->rc = 1;
+ us->details.blinded_rsa_signature
= GNUNET_CRYPTO_rsa_sign_fdh (cls->pickup_priv,
- &cls->pickup_id.hash);
+ &cls->pickup_id.hash,
+ sizeof (cls->pickup_id.hash));
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: -fix test FTBFS,
gnunet <=