From 591cefd3159a2982703a81b637fd7887ecef9a7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Tue, 16 Nov 2021 14:43:54 +0100 Subject: [age restriction] progress 3/n - remove redundant struct members for age commitment hash - undo pre-mature implementation in taler-exchange-secmod-rsa.c - carry through age restriction parameter for TALER_denom_blind --- src/lib/exchange_api_deposit.c | 2 +- src/lib/exchange_api_refreshes_reveal.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/exchange_api_deposit.c b/src/lib/exchange_api_deposit.c index 39397425a..408601c6f 100644 --- a/src/lib/exchange_api_deposit.c +++ b/src/lib/exchange_api_deposit.c @@ -513,7 +513,7 @@ verify_signatures (const struct TALER_EXCHANGE_DenomPublicKey *dki, .coin_pub = *coin_pub, .denom_pub_hash = *denom_pub_hash, .denom_sig = *denom_sig, - .age_commitment_hash = coin_pub->age_commitment_hash + .age_commitment_hash = NULL /* FIXME-Oec */ }; if (GNUNET_YES != diff --git a/src/lib/exchange_api_refreshes_reveal.c b/src/lib/exchange_api_refreshes_reveal.c index fdd7e7eec..2b7fcf8cf 100644 --- a/src/lib/exchange_api_refreshes_reveal.c +++ b/src/lib/exchange_api_refreshes_reveal.c @@ -166,9 +166,9 @@ refresh_reveal_ok (struct TALER_EXCHANGE_RefreshesRevealHandle *rrh, hence recomputing it here... */ GNUNET_CRYPTO_eddsa_key_get_public (&fc->coin_priv.eddsa_priv, &coin_pub.eddsa_pub); - /* FIXME-Oec: Age commitment hash. - * must be put into coin_pub.age_mask */ + /* FIXME-Oec: Age commitment hash. */ TALER_coin_pub_hash (&coin_pub, + NULL, /* FIXME-Oec */ &coin_hash); if (GNUNET_OK != TALER_planchet_to_coin (pk, -- cgit v1.2.3