aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/exchange_api_handle.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-05-11 11:05:48 +0200
committerChristian Grothoff <christian@grothoff.org>2017-05-11 11:05:48 +0200
commitd5ddbb648c4589a841356b3f20eb5a87787d958d (patch)
treeac067138156dd00dfeab63b2c69d58520338a45a /src/exchange-lib/exchange_api_handle.c
parent673509fac8e5fabadff0cf3d0c5113a4846fd5b9 (diff)
fail hard if any auditor sig is wrong
Diffstat (limited to 'src/exchange-lib/exchange_api_handle.c')
-rw-r--r--src/exchange-lib/exchange_api_handle.c6
1 files changed, 3 insertions, 3 deletions
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++;