diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-14 23:02:25 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-14 23:02:25 +0100 |
commit | bd77bcb52dcad4b761f3db0acaa6b71b112a31c2 (patch) | |
tree | f519ebc30bf0917d9f2e91667a20beac71284586 /src/util/denom.c | |
parent | f4f40a31efd3028dec36c0b84a49617926b5f9c3 (diff) | |
download | exchange-bd77bcb52dcad4b761f3db0acaa6b71b112a31c2.tar.xz |
-towards fixing the protocol
Diffstat (limited to 'src/util/denom.c')
-rw-r--r-- | src/util/denom.c | 6 |
1 files changed, 2 insertions, 4 deletions
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); |