aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2021-11-16 14:43:54 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2021-11-16 14:43:54 +0100
commit591cefd3159a2982703a81b637fd7887ecef9a7a (patch)
treed7135deb6111dbe11d10463061942470097e025b /src/lib
parent930e31e08fcdf28125b7c3fd6b76868d622d3a92 (diff)
[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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_deposit.c2
-rw-r--r--src/lib/exchange_api_refreshes_reveal.c4
2 files changed, 3 insertions, 3 deletions
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,