diff options
| author | Christian Grothoff <christian@grothoff.org> | 2020-04-08 18:18:20 +0200 |
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2020-04-08 18:18:20 +0200 |
| commit | 50bc862a684f8c5d4e3ece2712322bf078fe604f (patch) | |
| tree | 54d4facce006a8437c58e64e7f2106a3487cba83 /src/exchange/taler-exchange-httpd_withdraw.c | |
| parent | b22ec7570e830a3f71ed7c33b23879b2c3385387 (diff) | |
adapt to new GNUnet sign API (#6164)
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.c')
| -rw-r--r-- | src/exchange/taler-exchange-httpd_withdraw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c index bbd926a5..58ef97ba 100644 --- a/src/exchange/taler-exchange-httpd_withdraw.c +++ b/src/exchange/taler-exchange-httpd_withdraw.c @@ -442,7 +442,7 @@ TEH_handler_withdraw (const struct TEH_RequestHandler *rh, /* verify signature! */ wc.wsrd.purpose.size - = htonl (sizeof (struct TALER_WithdrawRequestPS)); + = htonl (sizeof (wc.wsrd)); wc.wsrd.purpose.purpose = htonl (TALER_SIGNATURE_WALLET_RESERVE_WITHDRAW); wc.wsrd.h_denomination_pub @@ -452,7 +452,7 @@ TEH_handler_withdraw (const struct TEH_RequestHandler *rh, &wc.wsrd.h_coin_envelope); if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_WALLET_RESERVE_WITHDRAW, - &wc.wsrd.purpose, + &wc.wsrd, &wc.signature.eddsa_signature, &wc.wsrd.reserve_pub.eddsa_pub)) { |
