From bd77bcb52dcad4b761f3db0acaa6b71b112a31c2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 14 Feb 2022 23:02:25 +0100 Subject: -towards fixing the protocol --- src/util/denom.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/util/denom.c') diff --git a/src/util/denom.c b/src/util/denom.c index 69e723503..30e8dc9d4 100644 --- a/src/util/denom.c +++ b/src/util/denom.c @@ -806,18 +806,16 @@ TALER_coin_ev_hash (const struct TALER_BlindedPlanchet *blinded_planchet, blinded_planchet->details.rsa_blinded_planchet.blinded_msg_size); break; case TALER_DENOMINATION_CS: + // FIMXE: c-values MUST NOT be included in idempotency check + // during withdraw/refresh, but right now they are!!! GNUNET_CRYPTO_hash_context_read ( hash_context, &blinded_planchet->details.cs_blinded_planchet.c[0], sizeof (struct GNUNET_CRYPTO_CsC) * 2); -#if FIXME - /* Must include this for refresh check, but - must EXCLUDE this in link signature (see TALER_LinkDataPS!) */ GNUNET_CRYPTO_hash_context_read ( hash_context, &blinded_planchet->details.cs_blinded_planchet.nonce, sizeof (struct TALER_CsNonce)); -#endif break; default: GNUNET_break (0); -- cgit v1.2.3