From 4c53d42e44cbab55194b2f0fb71ffc3cb082b56a Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Thu, 3 Mar 2022 19:35:24 +0100 Subject: [age restriction] progress 18/n - attestation tested - Unit-tests for commit, derive, attest and verify added, with multiple combinations of minimum age and commited age. - Fixed crypto implementation (eddsa -> ecdsa) - Using now standard functionality from GNUNET: GNUNET_CRYPTO_ecdsa_{private,public}_key_derive All tests pass (unit tests in util/ and 'make check' in testing). --- src/exchange/taler-exchange-httpd_refreshes_reveal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_refreshes_reveal.c') diff --git a/src/exchange/taler-exchange-httpd_refreshes_reveal.c b/src/exchange/taler-exchange-httpd_refreshes_reveal.c index caba557c5..d5cb2e476 100644 --- a/src/exchange/taler-exchange-httpd_refreshes_reveal.c +++ b/src/exchange/taler-exchange-httpd_refreshes_reveal.c @@ -620,14 +620,14 @@ resolve_refreshes_reveal_denominations (struct MHD_Connection *connection, oac = rctx->old_age_commitment; oac->mask = TEH_age_mask; oac->num = ng; - oac->pub = GNUNET_new_array (ng, struct TALER_AgeCommitmentPublicKeyP); + oac->keys = GNUNET_new_array (ng, struct TALER_AgeCommitmentPublicKeyP); /* Extract old age commitment */ for (unsigned int i = 0; i< ng; i++) { struct GNUNET_JSON_Specification ac_spec[] = { GNUNET_JSON_spec_fixed_auto (NULL, - &oac->pub[i]), + &oac->keys[i]), GNUNET_JSON_spec_end () }; -- cgit v1.2.3