diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-09-24 12:08:03 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-09-24 12:08:03 +0200 |
commit | 2bf66ed4876fc08cf05c9a96bfdd28a7bf9445de (patch) | |
tree | 28e3780f0e726524bc899d3dffbf5f65ef06f021 | |
parent | ac941ca266732341272284a588df55aa1d260c54 (diff) |
-fix test FTBFS
-rw-r--r-- | src/util/test_crypto.c | 20 |
1 files changed, 8 insertions, 12 deletions
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; |