summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorGian Demarmels <gian@demarmels.org>2022-01-16 22:04:52 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:37:33 +0100
commitae5f082c75eb140167dc0254894dd4d57ba62a6d (patch)
treec744335b23f9ff1e9191cf15f5bacf014a356194 /src/util
parentbcc159de176733300c6804eabb4a1139bad56e63 (diff)
downloadexchange-ae5f082c75eb140167dc0254894dd4d57ba62a6d.tar.gz
exchange-ae5f082c75eb140167dc0254894dd4d57ba62a6d.tar.bz2
exchange-ae5f082c75eb140167dc0254894dd4d57ba62a6d.zip
repair nonce check
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto.c b/src/util/crypto.c
index 50f2d97d3..549ec8b1a 100644
--- a/src/util/crypto.c
+++ b/src/util/crypto.c
@@ -505,8 +505,8 @@ TALER_coin_ev_hash (const struct TALER_BlindedPlanchet *blinded_planchet,
return GNUNET_OK;
case TALER_DENOMINATION_CS:
GNUNET_CRYPTO_hash (
- &blinded_planchet->details.cs_blinded_planchet,
- sizeof (blinded_planchet->details.cs_blinded_planchet),
+ &blinded_planchet->details.cs_blinded_planchet.nonce,
+ sizeof (blinded_planchet->details.cs_blinded_planchet.nonce),
&bch->hash);
return GNUNET_OK;
default: