From 9ed99558e21ac6b81f112670b982262d2349e5a5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Aug 2022 22:45:41 +0200 Subject: -fix clang compiler warnings --- src/auditor/taler-helper-auditor-coins.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/auditor') diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c index a3c8afb54..aa3e34b76 100644 --- a/src/auditor/taler-helper-auditor-coins.c +++ b/src/auditor/taler-helper-auditor-coins.c @@ -1982,6 +1982,16 @@ check_recoup (struct CoinContext *cc, enum GNUNET_DB_QueryStatus qs; const struct TALER_EXCHANGEDB_DenominationKeyInformation *issue; + if (GNUNET_OK != + TALER_wallet_recoup_verify (&coin->denom_pub_hash, + coin_blind, + &coin->coin_pub, + coin_sig)) + { + report_row_inconsistency (operation, + rowid, + "recoup signature invalid"); + } if (GNUNET_OK != TALER_test_coin_valid (coin, denom_pub)) -- cgit v1.2.3