aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-06 22:06:25 +0200
committerChristian Grothoff <christian@grothoff.org>2017-10-06 22:06:25 +0200
commit1c725c055e6facf3ba69e82909c9c494fdcf9a38 (patch)
tree143841b67d8ede34c617175638f924a6660fd09a
parentd86a6615cc60ba9e9d1a70146d761160564f404a (diff)
use proper enum value for error code on signature parsing in wire plugin
-rw-r--r--src/wire/plugin_wire_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c
index 6649b91ab..c41bd7e9f 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,