From 868a4ce76d543aaf0de7a12dbbddd3fd1d4571b6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 23 Oct 2021 07:11:23 +0200 Subject: -resovling more FTBFS issues --- src/exchangedb/plugin_exchangedb_common.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/exchangedb/plugin_exchangedb_common.c') diff --git a/src/exchangedb/plugin_exchangedb_common.c b/src/exchangedb/plugin_exchangedb_common.c index fb697dae..8f85e3ea 100644 --- a/src/exchangedb/plugin_exchangedb_common.c +++ b/src/exchangedb/plugin_exchangedb_common.c @@ -49,7 +49,7 @@ common_free_reserve_history (void *cls, struct TALER_EXCHANGEDB_CollectableBlindcoin *cbc; cbc = rh->details.withdraw; - GNUNET_CRYPTO_rsa_signature_free (cbc->sig.rsa_signature); + TALER_denom_sig_free (&cbc->sig); GNUNET_free (cbc); break; } @@ -58,7 +58,7 @@ common_free_reserve_history (void *cls, struct TALER_EXCHANGEDB_Recoup *recoup; recoup = rh->details.recoup; - GNUNET_CRYPTO_rsa_signature_free (recoup->coin.denom_sig.rsa_signature); + TALER_denom_sig_free (&recoup->coin.denom_sig); GNUNET_free (recoup); break; } @@ -116,8 +116,7 @@ common_free_coin_transaction_list (void *cls, struct TALER_EXCHANGEDB_RecoupRefreshListEntry *rr; rr = tl->details.old_coin_recoup; - if (NULL != rr->coin.denom_sig.rsa_signature) - GNUNET_CRYPTO_rsa_signature_free (rr->coin.denom_sig.rsa_signature); + TALER_denom_sig_free (&rr->coin.denom_sig); GNUNET_free (rr); break; } @@ -132,8 +131,7 @@ common_free_coin_transaction_list (void *cls, struct TALER_EXCHANGEDB_RecoupRefreshListEntry *rr; rr = tl->details.recoup_refresh; - if (NULL != rr->coin.denom_sig.rsa_signature) - GNUNET_CRYPTO_rsa_signature_free (rr->coin.denom_sig.rsa_signature); + TALER_denom_sig_free (&rr->coin.denom_sig); GNUNET_free (rr); break; } -- cgit v1.2.3