From d36a2008e83ffea35dbbcbe48c221843de875b46 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 26 Sep 2017 14:09:55 +0200 Subject: fix uninit auditor_url field --- 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 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 == -- cgit v1.2.3