summaryrefslogtreecommitdiff
path: root/src/auditor/taler-helper-auditor-coins.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-08 17:58:45 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-08 17:59:05 +0200
commit8e03498a487d3d00c20167dc19c24f9a0fe1a647 (patch)
treeab0955d0d1b88b319a24c5c12bd91dc17b401564 /src/auditor/taler-helper-auditor-coins.c
parent97dfbec0811b1a0b92618f195e228c43376e4828 (diff)
downloadexchange-8e03498a487d3d00c20167dc19c24f9a0fe1a647.tar.gz
exchange-8e03498a487d3d00c20167dc19c24f9a0fe1a647.tar.bz2
exchange-8e03498a487d3d00c20167dc19c24f9a0fe1a647.zip
add h_denom to melt signatures (for #6416)
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r--src/auditor/taler-helper-auditor-coins.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index 1a03ac72..b9352177 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -1283,6 +1283,8 @@ refresh_session_cb (void *cls,
.coin_pub = *coin_pub
};
+ GNUNET_CRYPTO_rsa_public_key_hash (denom_pub->rsa_public_key,
+ &rmc.h_denom_pub);
TALER_amount_hton (&rmc.amount_with_fee,
amount_with_fee);
if (GNUNET_OK !=
@@ -1620,6 +1622,8 @@ deposit_cb (void *cls,
.coin_pub = *coin_pub
};
+ GNUNET_CRYPTO_rsa_public_key_hash (denom_pub->rsa_public_key,
+ &dr.h_denom_pub);
if (GNUNET_OK !=
TALER_JSON_merchant_wire_signature_hash (receiver_wire_account,
&dr.h_wire))