summaryrefslogtreecommitdiff
path: root/src/json
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/json
parent77bab625607514a628dfda101e55c7d57f6b623d (diff)
downloadexchange-7c510388b9d789c35fc05bead7677b3de52a318e.tar.gz
exchange-7c510388b9d789c35fc05bead7677b3de52a318e.tar.bz2
exchange-7c510388b9d789c35fc05bead7677b3de52a318e.zip
age restriction progress 2/n
Signed-off-by: Özgür Kesim <oec-taler@kesim.org>
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json_helper.c2
-rw-r--r--src/json/json_pack.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index 1684e7f35..468d13569 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -444,7 +444,7 @@ parse_denom_pub (void *cls,
GNUNET_JSON_spec_uint32 ("cipher",
&cipher),
GNUNET_JSON_spec_uint32 ("age_mask",
- &denom_pub->age_mask),
+ &denom_pub->age_mask.mask),
GNUNET_JSON_spec_end ()
};
const char *emsg;
diff --git a/src/json/json_pack.c b/src/json/json_pack.c
index 59e3afb77..f41ba5234 100644
--- a/src/json/json_pack.c
+++ b/src/json/json_pack.c
@@ -104,7 +104,7 @@ TALER_JSON_pack_denom_pub (
GNUNET_JSON_pack_uint64 ("cipher",
TALER_DENOMINATION_RSA),
GNUNET_JSON_pack_uint64 ("age_mask",
- pk->age_mask),
+ pk->age_mask.mask),
GNUNET_JSON_pack_rsa_public_key ("rsa_public_key",
pk->details.rsa_public_key));
break;