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_deposits_get.c | |
parent | b22ec7570e830a3f71ed7c33b23879b2c3385387 (diff) | |
download | exchange-50bc862a684f8c5d4e3ece2712322bf078fe604f.tar.gz exchange-50bc862a684f8c5d4e3ece2712322bf078fe604f.tar.bz2 exchange-50bc862a684f8c5d4e3ece2712322bf078fe604f.zip |
adapt to new GNUnet sign API (#6164)
Diffstat (limited to 'src/exchange/taler-exchange-httpd_deposits_get.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_deposits_get.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_deposits_get.c b/src/exchange/taler-exchange-httpd_deposits_get.c index 1c9c58d11..f2b364caa 100644 --- a/src/exchange/taler-exchange-httpd_deposits_get.c +++ b/src/exchange/taler-exchange-httpd_deposits_get.c @@ -69,7 +69,7 @@ reply_deposit_details (struct MHD_Connection *connection, TALER_amount_hton (&cw.coin_contribution, coin_contribution); if (GNUNET_OK != - TEH_KS_sign (&cw.purpose, + TEH_KS_sign (&cw, &pub, &sig)) { @@ -381,7 +381,7 @@ TEH_handler_deposits_get (const struct TEH_RequestHandler *rh, return MHD_YES; /* parse error */ if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_MERCHANT_TRACK_TRANSACTION, - &tps.purpose, + &tps, &merchant_sig.eddsa_sig, &tps.merchant.eddsa_pub)) { |