From 2bf66ed4876fc08cf05c9a96bfdd28a7bf9445de Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 24 Sep 2023 12:08:03 +0200 Subject: -fix test FTBFS --- src/util/test_crypto.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/util/test_crypto.c') diff --git a/src/util/test_crypto.c b/src/util/test_crypto.c index 80ce9083d..54f7e794d 100644 --- 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; -- cgit v1.2.3