diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-02-17 12:23:06 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-02-18 00:30:19 +0100 |
commit | a78b3345fbf017b1cddfd09afb4b2c29287b0bba (patch) | |
tree | 45752022adc8b1661fb1662df40af4d58ab7d5f4 /src/util/crypto.c | |
parent | 8bdf6ab19df70c16d335ecf82f2c3b2117eeb70e (diff) |
[age restriction] progress 15/n - melt/refresh/reveal and recoup
Added age restriction support for
- melt/refresh/reveal
- recoup
However, tests are not yet implemented for those flows.
Also: minor fixes and refactoring.
Diffstat (limited to 'src/util/crypto.c')
-rw-r--r-- | src/util/crypto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/crypto.c b/src/util/crypto.c index 6bea984f3..39a9c7f17 100644 --- a/src/util/crypto.c +++ b/src/util/crypto.c @@ -90,7 +90,7 @@ TALER_test_coin_valid (const struct TALER_CoinPublicInfo *coin_public_info, #endif TALER_coin_pub_hash (&coin_public_info->coin_pub, - &coin_public_info->age_commitment_hash, + &coin_public_info->h_age_commitment, &c_hash); if (GNUNET_OK != @@ -681,7 +681,7 @@ FAIL: void -TALER_age_restriction_commmitment_free_inside ( +TALER_age_commitment_free ( struct TALER_AgeCommitment *commitment) { if (NULL == commitment) @@ -703,7 +703,7 @@ TALER_age_restriction_commmitment_free_inside ( commitment->priv = NULL; } - /* Caller is responsible for commitment itself */ + GNUNET_free (commitment); } |