summaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-04 11:33:06 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-04 11:33:06 +0200
commit466a7b7018c0a53a27e1d431019f6b5f7b3562e4 (patch)
treea1db22a5e2d7d1b7202ecdd50faddb2413e52b9b /src/exchangedb/test_exchangedb.c
parent401d2530b951039bb07a34db4cb5561c7abcd52e (diff)
downloadexchange-466a7b7018c0a53a27e1d431019f6b5f7b3562e4.tar.gz
exchange-466a7b7018c0a53a27e1d431019f6b5f7b3562e4.tar.bz2
exchange-466a7b7018c0a53a27e1d431019f6b5f7b3562e4.zip
DCE
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r--src/exchangedb/test_exchangedb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 9e8d2965..db40f365 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -536,7 +536,6 @@ test_melting (struct TALER_EXCHANGEDB_Session *session)
struct TALER_EXCHANGEDB_RefreshMelt ret_refresh_session;
struct DenomKeyPair *dkp;
struct TALER_DenominationPublicKey *new_denom_pubs;
- struct TALER_DenominationPublicKey *ret_denom_pubs;
int ret;
enum GNUNET_DB_QueryStatus qs;
struct GNUNET_TIME_Absolute now;
@@ -546,7 +545,6 @@ test_melting (struct TALER_EXCHANGEDB_Session *session)
dkp = NULL;
new_dkp = NULL;
new_denom_pubs = NULL;
- ret_denom_pubs = NULL;
/* create and test a refresh session */
refresh_session.noreveal_index = MELT_NOREVEAL_INDEX;
/* create a denomination (value: 1; fraction: 100) */
@@ -730,12 +728,6 @@ test_melting (struct TALER_EXCHANGEDB_Session *session)
}
destroy_denom_key_pair (dkp);
GNUNET_CRYPTO_rsa_signature_free (refresh_session.coin.denom_sig.rsa_signature);
- for (unsigned int cnt = 0;
- (NULL != ret_denom_pubs) && (cnt < MELT_NEW_COINS)
- && (NULL != ret_denom_pubs[cnt].rsa_public_key);
- cnt++)
- GNUNET_CRYPTO_rsa_public_key_free (ret_denom_pubs[cnt].rsa_public_key);
- GNUNET_free_non_null (ret_denom_pubs);
GNUNET_free_non_null (new_denom_pubs);
for (unsigned int cnt = 0;
(NULL != new_dkp) && (cnt < MELT_NEW_COINS) && (NULL != new_dkp[cnt]);