From eabbafc4dfdee936135451aa70000b53d0337430 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 May 2016 05:52:37 +0200 Subject: [PATCH] adding assertions to assist figuring out #4482 --- src/exchange/taler-exchange-httpd_keystate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 2f5069d4a..ba2cf7c16 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -684,11 +684,13 @@ TMH_KS_acquire_ (const char *location) sizeof (struct TALER_ExchangePublicKeyP)), "eddsa_sig", GNUNET_JSON_from_data (&sig, sizeof (struct TALER_ExchangeSignatureP))); + GNUNET_assert (NULL != keys); key_state->auditors_array = NULL; key_state->sign_keys_array = NULL; key_state->denom_keys_array = NULL; key_state->keys_json = json_dumps (keys, JSON_INDENT (2)); + GNUNET_assert (NULL != key_state->keys_json); json_decref (keys); internal_key_state = key_state; }