exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit d5ddbb648c4589a841356b3f20eb5a87787d958d
parent 673509fac8e5fabadff0cf3d0c5113a4846fd5b9
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 11 May 2017 11:05:48 +0200

fail hard if any auditor sig is wrong

Diffstat:
Msrc/exchange-lib/exchange_api_handle.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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++;