summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-09-26 14:09:55 +0200
committerChristian Grothoff <christian@grothoff.org>2017-09-26 14:09:55 +0200
commitd36a2008e83ffea35dbbcbe48c221843de875b46 (patch)
treed488229a421b0c7ec2bfd9e5337179b397142b66
parent472853442f481e309d38e46d40ba22e01f76f1f1 (diff)
downloadexchange-d36a2008e83ffea35dbbcbe48c221843de875b46.tar.gz
exchange-d36a2008e83ffea35dbbcbe48c221843de875b46.tar.bz2
exchange-d36a2008e83ffea35dbbcbe48c221843de875b46.zip
fix uninit auditor_url field
-rw-r--r--src/exchange/taler-exchange-httpd_keystate.c2
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 ==