From b7b121efc8009e04876af4773920d87fb07fb21e Mon Sep 17 00:00:00 2001 From: René Korthaus Date: Mon, 24 Oct 2016 21:46:17 +0200 Subject: Fix hardcoded SHA-1 in eckcdsa consistency check --- src/lib/pubkey/eckcdsa/eckcdsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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 { -- cgit v1.2.3