summaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
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 efa250125..1db608edd 100644
--- a/src/pq/pq_query_helper.c
+++ b/src/pq/pq_query_helper.c
@@ -186,7 +186,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.mask);
+ be[1] = htonl (denom_pub->age_mask.bits);
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 68cbbcd4c..139cf1cbf 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -426,7 +426,7 @@ extract_denom_pub (void *cls,
res += sizeof (be);
len -= sizeof (be);
pk->cipher = ntohl (be[0]);
- pk->age_mask.mask = ntohl (be[1]);
+ pk->age_mask.bits = ntohl (be[1]);
switch (pk->cipher)
{
case TALER_DENOMINATION_RSA: