diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-14 22:05:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-14 22:05:08 +0200 |
commit | 8a4043248893a7c7cb3b896a0ed24d7611796c98 (patch) | |
tree | 6f906dc1b8006c1b4a8a5e188962e909cf1c5d6b /src/mint | |
parent | e34d340caeb2d115a9113ddd6e1067355e2e099d (diff) |
fix offset: do not add off for the index into the keys from the client
Diffstat (limited to 'src/mint')
-rw-r--r-- | src/mint/taler-mint-httpd_db.c | 2 | ||||
-rw-r--r-- | src/mint/taler-mint-httpd_refresh.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index 2a4c16748..0e5ac1429 100644 --- a/src/mint/taler-mint-httpd_db.c +++ b/src/mint/taler-mint-httpd_db.c @@ -1158,7 +1158,7 @@ TMH_DB_execute_refresh_reveal (struct MHD_Connection *connection, session_hash, i + off, refresh_session.num_oldcoins, - transfer_privs[i + off], + transfer_privs[i], melts, refresh_session.num_newcoins, denom_pubs))) diff --git a/src/mint/taler-mint-httpd_refresh.c b/src/mint/taler-mint-httpd_refresh.c index 16fe3557f..f5bfb3c8b 100644 --- a/src/mint/taler-mint-httpd_refresh.c +++ b/src/mint/taler-mint-httpd_refresh.c @@ -505,6 +505,7 @@ handle_refresh_melt_json (struct MHD_Connection *connection, num_newcoins); return (GNUNET_SYSERR == res) ? MHD_NO : MHD_YES; } + GNUNET_CRYPTO_hash_context_read (hash_context, rcc->coin_ev, rcc->coin_ev_size); |