commit 1c725c055e6facf3ba69e82909c9c494fdcf9a38
parent d86a6615cc60ba9e9d1a70146d761160564f404a
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 6 Oct 2017 22:06:25 +0200
use proper enum value for error code on signature parsing in wire plugin
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,