[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 02/02: use proper enum value for error cod
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 02/02: use proper enum value for error code on signature parsing in wire plugin |
Date: |
Fri, 06 Oct 2017 22:06:40 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 1c725c055e6facf3ba69e82909c9c494fdcf9a38
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Oct 6 22:06:25 2017 +0200
use proper enum value for error code on signature parsing in wire plugin
---
src/wire/plugin_wire_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c
index 6649b91..c41bd7e 100644
--- a/src/wire/plugin_wire_test.c
+++ b/src/wire/plugin_wire_test.c
@@ -307,7 +307,7 @@ test_wire_validate (void *cls,
sizeof (sig)))
{
GNUNET_break (0);
- return GNUNET_SYSERR;
+ return TALER_EC_DEPOSIT_INVALID_WIRE_FORMAT_SIGNATURE;
}
if (GNUNET_OK !=
GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_MASTER_TEST_DETAILS,
--
To stop receiving notification emails like this one, please contact
address@hidden