diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-09-26 14:09:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-09-26 14:09:55 +0200 |
commit | d36a2008e83ffea35dbbcbe48c221843de875b46 (patch) | |
tree | d488229a421b0c7ec2bfd9e5337179b397142b66 /src | |
parent | 472853442f481e309d38e46d40ba22e01f76f1f1 (diff) | |
download | exchange-d36a2008e83ffea35dbbcbe48c221843de875b46.tar.xz |
fix uninit auditor_url field
Diffstat (limited to 'src')
-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 06bb50492..facea88e2 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -1107,6 +1107,7 @@ add_auditor_entry (void *cls, "denomination_keys", ae->ar, "auditor_url", ae->auditor_url, "auditor_pub", GNUNET_JSON_from_data_auto (ae->apub)); + GNUNET_assert (NULL != ao); GNUNET_assert (0 == json_array_append_new (rbc->auditors_array, ao)); @@ -1207,6 +1208,7 @@ build_keys_response (const struct ResponseFactoryContext *rfc, if (NULL == ae) { ae = GNUNET_new (struct AuditorEntry); + ae->auditor_url = as->auditor_url; ae->ar = json_array (); ae->apub = &as->apub; GNUNET_assert (GNUNET_YES == |