diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-03 05:52:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-03 05:52:37 +0200 |
commit | eabbafc4dfdee936135451aa70000b53d0337430 (patch) | |
tree | 7eb964eac7b31a3a96c712ecb106d1af43325abc | |
parent | 025fbdb41aa8783570079915283494d1005533f6 (diff) |
adding assertions to assist figuring out #4482
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |