summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_deposit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-28 14:22:21 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-28 14:22:21 +0100
commit891018f69f52244fd4cb61b50e3b3aeaeb0d8f50 (patch)
treed745a8037f4f8e8fb6eed515e10a1e12c9fc8c24 /src/mint/taler-mint-httpd_deposit.c
parent28b6b26567b87b294c247467821a304359f7eca1 (diff)
downloadexchange-891018f69f52244fd4cb61b50e3b3aeaeb0d8f50.tar.gz
exchange-891018f69f52244fd4cb61b50e3b3aeaeb0d8f50.tar.bz2
exchange-891018f69f52244fd4cb61b50e3b3aeaeb0d8f50.zip
minor renaming of signature values and improved documentation of signatures, also adding a few missing fields to signatures to address #3631
Diffstat (limited to 'src/mint/taler-mint-httpd_deposit.c')
-rw-r--r--src/mint/taler-mint-httpd_deposit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mint/taler-mint-httpd_deposit.c b/src/mint/taler-mint-httpd_deposit.c
index e732c87d7..09e101f60 100644
--- a/src/mint/taler-mint-httpd_deposit.c
+++ b/src/mint/taler-mint-httpd_deposit.c
@@ -60,7 +60,7 @@ verify_and_execute_deposit (struct MHD_Connection *connection,
struct TALER_MINTDB_DenominationKeyIssueInformation *dki;
struct TALER_Amount fee_deposit;
- dr.purpose.purpose = htonl (TALER_SIGNATURE_WALLET_DEPOSIT);
+ dr.purpose.purpose = htonl (TALER_SIGNATURE_WALLET_COIN_DEPOSIT);
dr.purpose.size = htonl (sizeof (struct TALER_DepositRequestPS));
dr.h_contract = deposit->h_contract;
dr.h_wire = deposit->h_wire;
@@ -69,7 +69,7 @@ verify_and_execute_deposit (struct MHD_Connection *connection,
&deposit->amount_with_fee);
dr.coin_pub = deposit->coin.coin_pub;
if (GNUNET_OK !=
- GNUNET_CRYPTO_ecdsa_verify (TALER_SIGNATURE_WALLET_DEPOSIT,
+ GNUNET_CRYPTO_ecdsa_verify (TALER_SIGNATURE_WALLET_COIN_DEPOSIT,
&dr.purpose,
&deposit->csig.ecdsa_signature,
&deposit->coin.coin_pub.ecdsa_pub))