From 0fd6cf19afc8091494ba1b2adcf2b4b2c7bcadcb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 7 Aug 2016 23:21:49 +0200 Subject: mostly working migration of the DH-seeded refresh variant --- src/exchange/taler-exchange-httpd_refresh.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/exchange') 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); } } -- cgit v1.2.3