fail hard if any auditor sig is wrong

This commit is contained in:
Christian Grothoff 2017-05-11 11:05:48 +02:00
parent 673509fac8
commit d5ddbb648c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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++;