From f3d5477a41f75237616df5899f27367037d65913 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 28 Jul 2019 15:30:45 +0200 Subject: [PATCH] report purpose when sig verification fails --- src/util/crypto_ecc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index ff9080345..9e6f533f3 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c @@ -1160,7 +1160,8 @@ GNUNET_CRYPTO_eddsa_verify ( if (0 != rc) { LOG (GNUNET_ERROR_TYPE_INFO, - _ ("EdDSA signature verification failed at %s:%d: %s\n"), + _ ("EdDSA signature verification of type %u failed at %s:%d: %s\n"), + (unsigned int) purpose, __FILE__, __LINE__, gcry_strerror (rc)); -- 2.25.1