diff options
| author | Christian Grothoff <christian@grothoff.org> | 2016-08-07 23:21:49 +0200 |
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2016-08-07 23:21:49 +0200 |
| commit | 0fd6cf19afc8091494ba1b2adcf2b4b2c7bcadcb (patch) | |
| tree | df92291464c7142cf7011f37a63fd860d5c36ac3 /src/exchange/taler-exchange-httpd_refresh.c | |
| parent | 745719dbc1482734ab3ca7a20541ee8a12ecb69c (diff) | |
mostly working migration of the DH-seeded refresh variant
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refresh.c')
| -rw-r--r-- | src/exchange/taler-exchange-httpd_refresh.c | 5 |
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 3dbffe51..655749eb 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); } } |
