[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: fail hard if any au
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: fail hard if any auditor sig is wrong |
Date: |
Thu, 11 May 2017 11:05:51 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new d5ddbb6 fail hard if any auditor sig is wrong
d5ddbb6 is described below
commit d5ddbb648c4589a841356b3f20eb5a87787d958d
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu May 11 11:05:48 2017 +0200
fail hard if any auditor sig is wrong
---
src/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
index 00d6801..a4f0318 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++;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: fail hard if any auditor sig is wrong,
gnunet <=