aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-09-24 12:08:03 +0200
committerChristian Grothoff <christian@grothoff.org>2023-09-24 12:08:03 +0200
commit2bf66ed4876fc08cf05c9a96bfdd28a7bf9445de (patch)
tree28e3780f0e726524bc899d3dffbf5f65ef06f021
parentac941ca266732341272284a588df55aa1d260c54 (diff)
downloadexchange-2bf66ed4876fc08cf05c9a96bfdd28a7bf9445de.tar.xz
-fix test FTBFS
-rw-r--r--src/util/test_crypto.c20
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;