summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-09-14 20:52:39 +0200
committerChristian Grothoff <christian@grothoff.org>2017-09-14 20:52:39 +0200
commitf346e89ceb7eecf6de1abd4b2b794926d671b72c (patch)
treebd34b3ebbdc4005d09a49dec0d0837181fd1fb28 /src/exchange
parentf440904f1bba73ff4e6b7d91b221fa3f6af4ed62 (diff)
downloadexchange-f346e89ceb7eecf6de1abd4b2b794926d671b72c.tar.gz
exchange-f346e89ceb7eecf6de1abd4b2b794926d671b72c.tar.bz2
exchange-f346e89ceb7eecf6de1abd4b2b794926d671b72c.zip
(imperfect) test for #4840
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_keystate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c
index b4026bf37..32a619e7b 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -1424,13 +1424,13 @@ TEH_KS_handler_keys (struct TEH_RequestHandler *rh,
ks.purpose.size = htonl (sizeof (ks));
ks.purpose.purpose = htonl (TALER_SIGNATURE_EXCHANGE_KEY_SET);
ks.list_issue_date = GNUNET_TIME_absolute_hton (key_state->reload_time);
- GNUNET_CRYPTO_hash_context_finish (key_state->hash_context,
+ GNUNET_CRYPTO_hash_context_finish (rbc.hash_context,
&ks.hc);
GNUNET_assert (GNUNET_OK ==
GNUNET_CRYPTO_eddsa_sign (&key_state->current_sign_key_issue.signkey_priv.eddsa_priv,
&ks.purpose,
&sig.eddsa_signature));
- keys = json_pack ("{s:s, s:o, s:O, s:o, s:O, s:o, s:o}",
+ keys = json_pack ("{s:s, s:o, s:O, s:o, s:O, s:o, s:o, s:o, s:o}",
"version", TALER_PROTOCOL_VERSION,
"master_public_key", GNUNET_JSON_from_data_auto (&TEH_master_public_key),
"signkeys", key_state->sign_keys_array,