aboutsummaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2021-11-10 17:25:11 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2021-11-10 17:27:49 +0100
commit7c510388b9d789c35fc05bead7677b3de52a318e (patch)
tree43750109ca78184551dff403c881aa7e205152f9 /src/pq
parent77bab625607514a628dfda101e55c7d57f6b623d (diff)
age restriction progress 2/n
Signed-off-by: Özgür Kesim <oec-taler@kesim.org>
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/pq_query_helper.c2
-rw-r--r--src/pq/pq_result_helper.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pq/pq_query_helper.c b/src/pq/pq_query_helper.c
index 618877608..43b8374a2 100644
--- a/src/pq/pq_query_helper.c
+++ b/src/pq/pq_query_helper.c
@@ -185,7 +185,7 @@ qconv_denom_pub (void *cls,
GNUNET_assert (scratch_length > 0);
GNUNET_break (NULL == cls);
be[0] = htonl ((uint32_t) denom_pub->cipher);
- be[1] = htonl (denom_pub->age_mask);
+ be[1] = htonl (denom_pub->age_mask.mask);
switch (denom_pub->cipher)
{
case TALER_DENOMINATION_RSA:
diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c
index 2f570b6bb..ea815a9c2 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -551,7 +551,7 @@ extract_denom_pub (void *cls,
res += sizeof (be);
len -= sizeof (be);
pk->cipher = ntohl (be[0]);
- pk->age_mask = ntohl (be[1]);
+ pk->age_mask.mask = ntohl (be[1]);
switch (pk->cipher)
{
case TALER_DENOMINATION_RSA: