commit 2bf66ed4876fc08cf05c9a96bfdd28a7bf9445de
parent ac941ca266732341272284a588df55aa1d260c54
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 24 Sep 2023 12:08:03 +0200
-fix test FTBFS
Diffstat:
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/src/util/test_crypto.c b/src/util/test_crypto.c
@@ -135,12 +135,10 @@ test_planchets_rsa (uint8_t age)
GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK,
&seed,
sizeof(seed));
-
- GNUNET_assert (GNUNET_OK ==
- TALER_age_restriction_commit (&age_mask,
- age,
- &seed,
- &acp));
+ TALER_age_restriction_commit (&age_mask,
+ age,
+ &seed,
+ &acp);
TALER_age_commitment_hash (&acp.commitment,
&ah);
ach = &ah;
@@ -267,12 +265,10 @@ test_planchets_cs (uint8_t age)
GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK,
&seed,
sizeof(seed));
-
- GNUNET_assert (GNUNET_OK ==
- TALER_age_restriction_commit (&age_mask,
- age,
- &seed,
- &acp));
+ TALER_age_restriction_commit (&age_mask,
+ age,
+ &seed,
+ &acp);
TALER_age_commitment_hash (&acp.commitment,
&ah);
ach = &ah;