commit eabbafc4dfdee936135451aa70000b53d0337430
parent 025fbdb41aa8783570079915283494d1005533f6
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 3 May 2016 05:52:37 +0200
adding assertions to assist figuring out #4482
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;
}