[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: -do not generate non-obivously b
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: -do not generate non-obivously bogus signature in test |
Date: |
Sat, 25 Dec 2021 16:34:24 +0100 |
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 6ee72ea2 -do not generate non-obivously bogus signature in test
6ee72ea2 is described below
commit 6ee72ea210a93327ee36fa360e5264c393ffa224
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Dec 25 16:29:20 2021 +0100
-do not generate non-obivously bogus signature in test
---
src/backenddb/test_merchantdb.c | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
index 990c6b83..ba222ee3 100644
--- a/src/backenddb/test_merchantdb.c
+++ b/src/backenddb/test_merchantdb.c
@@ -6155,15 +6155,6 @@ struct TestRefunds_Closure
static void
pre_test_refunds (struct TestRefunds_Closure *cls)
{
- struct TALER_RefundRequestPS refund_sign = {
- .purpose = {
- .size = htonl (sizeof (struct TALER_RefundRequestPS)),
- .purpose = htonl (TALER_SIGNATURE_MERCHANT_REFUND)
- }
-
-
- };
-
/* Instance */
make_instance ("test_inst_refunds",
&cls->instance);
@@ -6217,9 +6208,9 @@ pre_test_refunds (struct TestRefunds_Closure *cls)
GNUNET_assert (GNUNET_OK ==
TALER_string_to_amount ("EUR:0.02",
&cls->refund_proof.refund_fee));
- GNUNET_CRYPTO_eddsa_sign (&cls->signkey.exchange_priv.eddsa_priv,
- &refund_sign,
- &cls->refund_proof.exchange_sig.eddsa_signature);
+ memset (&cls->refund_proof.exchange_sig,
+ 42,
+ sizeof (cls->refund_proof.exchange_sig));
}
--
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: -do not generate non-obivously bogus signature in test,
gnunet <=