aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-06-10 11:07:06 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-06-10 11:07:06 +0200
commit70bfe0ed1b9a5dbb6cc487465ef3c3df4cdb0436 (patch)
tree5f32b30f5b58dfc502c273bebecffbcb79fc3c4b /src/util
parent46188ae07e97d12b73269167459707844b3c2486 (diff)
parentd8f8c550bd7ad85f9da9bc5edba619e533eabcc8 (diff)
downloadexchange-70bfe0ed1b9a5dbb6cc487465ef3c3df4cdb0436.tar.xz
Merge branch 'master' into age-withdraw
Diffstat (limited to 'src/util')
-rw-r--r--src/util/age_restriction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/age_restriction.c b/src/util/age_restriction.c
index cf81d915b..f0d99fe66 100644
--- a/src/util/age_restriction.c
+++ b/src/util/age_restriction.c
@@ -135,7 +135,7 @@ ecdsa_create_from_seed (
enum GNUNET_GenericReturnValue
TALER_age_restriction_commit (
const struct TALER_AgeMask *mask,
- const uint8_t age,
+ uint8_t age,
const struct GNUNET_HashCode *seed,
struct TALER_AgeCommitmentProof *ncp)
{
@@ -147,7 +147,7 @@ TALER_age_restriction_commit (
GNUNET_assert (NULL != mask);
GNUNET_assert (NULL != seed);
GNUNET_assert (NULL != ncp);
- GNUNET_assert (mask->bits & 1); /* fist bit must have been set */
+ GNUNET_assert (mask->bits & 1); /* first bit must have been set */
num_pub = __builtin_popcount (mask->bits) - 1;
num_priv = get_age_group (mask, age);