report purpose when sig verification fails
authorChristian Grothoff <christian@grothoff.org>
Sun, 28 Jul 2019 13:30:45 +0000 (15:30 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sun, 28 Jul 2019 13:30:45 +0000 (15:30 +0200)
src/util/crypto_ecc.c

index ff9080345c0b1d829f9e14a985159484a04fa83b..9e6f533f383b37b435913fd8fbf2703f814fd3a5 100644 (file)
@@ -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));