diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-07-28 15:30:45 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-07-28 15:30:45 +0200 |
commit | f3d5477a41f75237616df5899f27367037d65913 (patch) | |
tree | ab5a88d5e4acc01385f6872c618b75360f585bb4 /src | |
parent | 8a9578a335df0090c3728ce68ac374653f369950 (diff) | |
download | gnunet-f3d5477a41f75237616df5899f27367037d65913.tar.gz gnunet-f3d5477a41f75237616df5899f27367037d65913.zip |
report purpose when sig verification fails
Diffstat (limited to 'src')
-rw-r--r-- | src/util/crypto_ecc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 ( | |||
1160 | if (0 != rc) | 1160 | if (0 != rc) |
1161 | { | 1161 | { |
1162 | LOG (GNUNET_ERROR_TYPE_INFO, | 1162 | LOG (GNUNET_ERROR_TYPE_INFO, |
1163 | _ ("EdDSA signature verification failed at %s:%d: %s\n"), | 1163 | _ ("EdDSA signature verification of type %u failed at %s:%d: %s\n"), |
1164 | (unsigned int) purpose, | ||
1164 | __FILE__, | 1165 | __FILE__, |
1165 | __LINE__, | 1166 | __LINE__, |
1166 | gcry_strerror (rc)); | 1167 | gcry_strerror (rc)); |