use proper enum value for error code on signature parsing in wire plugin

This commit is contained in:
Christian Grothoff 2017-10-06 22:06:25 +02:00
parent d86a6615cc
commit 1c725c055e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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,