From 074ea7502e93b290f9300974f5a349a8de4f4753 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 29 Mar 2022 15:21:49 +0200 Subject: centralize exchange online signature logic --- .../taler-auditor-httpd_deposit-confirmation.c | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src/auditor/taler-auditor-httpd_deposit-confirmation.c') diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation.c b/src/auditor/taler-auditor-httpd_deposit-confirmation.c index 7f4d4286c..6042b7409 100644 --- a/src/auditor/taler-auditor-httpd_deposit-confirmation.c +++ b/src/auditor/taler-auditor-httpd_deposit-confirmation.c @@ -182,17 +182,18 @@ verify_and_execute_deposit_confirmation ( /* check deposit confirmation signature */ if (GNUNET_OK != - TALER_exchange_deposit_confirm_verify (&dc->h_contract_terms, - &dc->h_wire, - NULL /* h_extensions! */, - dc->exchange_timestamp, - dc->wire_deadline, - dc->refund_deadline, - &dc->amount_without_fee, - &dc->coin_pub, - &dc->merchant, - &dc->exchange_pub, - &dc->exchange_sig)) + TALER_exchange_online_deposit_confirmation_verify ( + &dc->h_contract_terms, + &dc->h_wire, + NULL /* h_extensions! */, + dc->exchange_timestamp, + dc->wire_deadline, + dc->refund_deadline, + &dc->amount_without_fee, + &dc->coin_pub, + &dc->merchant, + &dc->exchange_pub, + &dc->exchange_sig)) { TALER_LOG_WARNING ( "Invalid signature on /deposit-confirmation request\n"); -- cgit v1.2.3