summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-08-07 23:21:49 +0200
committerChristian Grothoff <christian@grothoff.org>2016-08-07 23:21:49 +0200
commit0fd6cf19afc8091494ba1b2adcf2b4b2c7bcadcb (patch)
treedf92291464c7142cf7011f37a63fd860d5c36ac3 /src/exchange
parent745719dbc1482734ab3ca7a20541ee8a12ecb69c (diff)
downloadexchange-0fd6cf19afc8091494ba1b2adcf2b4b2c7bcadcb.tar.gz
exchange-0fd6cf19afc8091494ba1b2adcf2b4b2c7bcadcb.tar.bz2
exchange-0fd6cf19afc8091494ba1b2adcf2b4b2c7bcadcb.zip
mostly working migration of the DH-seeded refresh variant
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_refresh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh.c b/src/exchange/taler-exchange-httpd_refresh.c
index 3dbffe511..655749eb0 100644
--- a/src/exchange/taler-exchange-httpd_refresh.c
+++ b/src/exchange/taler-exchange-httpd_refresh.c
@@ -425,7 +425,9 @@ handle_refresh_melt_json (struct MHD_Connection *connection,
/* parse JSON arrays into binary arrays and hash everything
together for the signature check */
- memset (commit_coin, 0, sizeof (commit_coin));
+ memset (commit_coin,
+ 0,
+ sizeof (commit_coin));
for (i = 0; i < TALER_CNC_KAPPA; i++)
{
commit_coin[i] = GNUNET_new_array (num_newcoins,
@@ -454,7 +456,6 @@ handle_refresh_melt_json (struct MHD_Connection *connection,
GNUNET_CRYPTO_hash_context_read (hash_context,
rcc->coin_ev,
rcc->coin_ev_size);
- GNUNET_JSON_parse_free (coin_spec);
}
}