aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto.c
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/util/crypto.c
parent77bab625607514a628dfda101e55c7d57f6b623d (diff)
age restriction progress 2/n
Signed-off-by: Özgür Kesim <oec-taler@kesim.org>
Diffstat (limited to 'src/util/crypto.c')
-rw-r--r--src/util/crypto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/crypto.c b/src/util/crypto.c
index 2c81554b9..67cf14b42 100644
--- a/src/util/crypto.c
+++ b/src/util/crypto.c
@@ -320,6 +320,7 @@ void
TALER_coin_pub_hash (const struct TALER_CoinSpendPublicKeyP *coin_pub,
struct TALER_CoinPubHash *coin_h)
{
+ // FIXME-Oec: hash over age-restriction, too
GNUNET_CRYPTO_hash (&coin_pub->eddsa_pub,
sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey),
&coin_h->hash);