aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/eckcdsa
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-10-24 21:46:17 +0200
committerRenĂ© Korthaus <[email protected]>2016-10-24 21:58:46 +0200
commitb7b121efc8009e04876af4773920d87fb07fb21e (patch)
tree390ac22545b5d04a64426c0b47b3409e0675c72c /src/lib/pubkey/eckcdsa
parent1032651e35b150f5e56813167c25b54ed2e2a549 (diff)
Fix hardcoded SHA-1 in eckcdsa consistency check
Diffstat (limited to 'src/lib/pubkey/eckcdsa')
-rw-r--r--src/lib/pubkey/eckcdsa/eckcdsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/eckcdsa/eckcdsa.cpp b/src/lib/pubkey/eckcdsa/eckcdsa.cpp
index 5375d047a..9427e90ff 100644
--- a/src/lib/pubkey/eckcdsa/eckcdsa.cpp
+++ b/src/lib/pubkey/eckcdsa/eckcdsa.cpp
@@ -27,7 +27,7 @@ bool ECKCDSA_PrivateKey::check_key(RandomNumberGenerator& rng,
return true;
}
- return KeyPair::signature_consistency_check(rng, *this, "EMSA1(SHA-1)");
+ return KeyPair::signature_consistency_check(rng, *this, "EMSA1(SHA-256)");
}
namespace {