From d5ddbb648c4589a841356b3f20eb5a87787d958d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 11 May 2017 11:05:48 +0200 Subject: fail hard if any auditor sig is wrong --- src/exchange-lib/exchange_api_handle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/exchange-lib/exchange_api_handle.c b/src/exchange-lib/exchange_api_handle.c index 00d680132..a4f031828 100644 --- a/src/exchange-lib/exchange_api_handle.c +++ b/src/exchange-lib/exchange_api_handle.c @@ -416,9 +416,9 @@ parse_json_auditor (struct TALER_EXCHANGE_AuditorInformation *auditor, unsigned int j; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_fixed_auto ("denom_pub_h", - &denom_h), + &denom_h), GNUNET_JSON_spec_fixed_auto ("auditor_sig", - &auditor_sig), + &auditor_sig), GNUNET_JSON_spec_end() }; @@ -468,7 +468,7 @@ parse_json_auditor (struct TALER_EXCHANGE_AuditorInformation *auditor, &auditor->auditor_pub.eddsa_pub)) { GNUNET_break_op (0); - continue; + return GNUNET_SYSERR; } auditor->denom_keys[off] = dk; off++; -- cgit v1.2.3