aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-10 18:23:28 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-10 18:23:28 +0200
commitd02ec767798475784ef0f9eb5856a23db6b73de3 (patch)
treeb6525dd2097eaaf9ffd40132fb4bd6096de43e32 /src/util
parent345c091a0d46fca79e2e01f9aee6b3dc3012dc4f (diff)
parent713db415a9bf47ffb665ee16892121829e067168 (diff)
downloadexchange-d02ec767798475784ef0f9eb5856a23db6b73de3.tar.xz
Merge branch 'master' of git+ssh://git.taler.net/exchange
Diffstat (limited to 'src/util')
-rw-r--r--src/util/test_age_restriction.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/util/test_age_restriction.c b/src/util/test_age_restriction.c
index 02b16c3e6..61499e5e0 100644
--- a/src/util/test_age_restriction.c
+++ b/src/util/test_age_restriction.c
@@ -80,24 +80,24 @@ test_groups (void)
.bits =
1 | 1 << 5 | 1 << 13 | 1 << 23,
- .group = { 0, 0, 0, 0, 0,
- 1, 1, 1, 1, 1, 1, 1, 1,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 }
+ .group = { 0, 0, 0, 0, 0,
+ 1, 1, 1, 1, 1, 1, 1, 1,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 }
},
{
.bits =
1 | 1 << 8 | 1 << 10 | 1 << 12 | 1 << 14 | 1 << 16 | 1 << 18 | 1 << 21,
- .group = { 0, 0, 0, 0, 0, 0, 0, 0,
- 1, 1,
- 2, 2,
- 3, 3,
- 4, 4,
- 5, 5,
- 6, 6, 6,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7}
+ .group = { 0, 0, 0, 0, 0, 0, 0, 0,
+ 1, 1,
+ 2, 2,
+ 3, 3,
+ 4, 4,
+ 5, 5,
+ 6, 6, 6,
+ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7}
}
@@ -326,9 +326,8 @@ test_attestation (void)
&seed,
&acp[0]);
printf (
- "commit(age:%d) == %d; proof.num: %ld; age_group: %d\n",
+ "commit(age:%d); proof.num: %ld; age_group: %d\n",
age,
- ret,
acp[0].proof.num,
age_group);