From: Christian Grothoff Date: Sun, 28 Jul 2019 13:30:45 +0000 (+0200) Subject: report purpose when sig verification fails X-Git-Tag: v0.11.7~220 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f3d5477a41f75237616df5899f27367037d65913;p=oweals%2Fgnunet.git report purpose when sig verification fails --- 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));