From 5a6a3da8e42e2021c2cf7888e102b4c70634e2b7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 11 Aug 2016 23:28:33 +0200 Subject: updating DB schema to profit from new KDF-based refresh variant --- src/exchangedb/plugin_exchangedb_common.c | 36 ------------------------------- 1 file changed, 36 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 bb6801e8..1aa77a48 100644 --- a/src/exchangedb/plugin_exchangedb_common.c +++ b/src/exchangedb/plugin_exchangedb_common.c @@ -132,40 +132,4 @@ common_free_coin_transaction_list (void *cls, } -/** - * Free melt commitment data. - * - * @param cls the @e cls of this struct with the plugin-specific state (unused) - * @param mc data structure to free - */ -static void -common_free_melt_commitment (void *cls, - struct TALER_EXCHANGEDB_MeltCommitment *mc) -{ - unsigned int i; - unsigned int k; - - if (NULL != mc->denom_pubs) - { - for (i=0;inum_newcoins;i++) - if (NULL != mc->denom_pubs[i].rsa_public_key) - GNUNET_CRYPTO_rsa_public_key_free (mc->denom_pubs[i].rsa_public_key); - GNUNET_free (mc->denom_pubs); - } - for (k=0;kcommit_coins[k]) - { - for (i=0;inum_newcoins;i++) - { - /* NOTE: 'non_null' because this API is used also - internally to clean up the struct on failures! */ - GNUNET_free_non_null (mc->commit_coins[k][i].coin_ev); - } - GNUNET_free (mc->commit_coins[k]); - } - } - GNUNET_free (mc); -} - /* end of plugin_exchangedb_common.c */ -- cgit v1.2.3