aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ecdsa/ecdsa.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-06-17 13:55:38 -0400
committerJack Lloyd <[email protected]>2016-06-17 13:55:38 -0400
commit221104881940bf2c226cf1cf4c9ec643491440e9 (patch)
treed8891721e294437b3a2b510a41861925a95d7d13 /src/lib/pubkey/ecdsa/ecdsa.cpp
parent6816c9e71e01432792a997ad9a5d561b9cd94a48 (diff)
parent960adccc86396f5d2ef9ec1a7374bcc9de70b85a (diff)
Merge GH #506 Fix test failures when SHA-1 is disabled
Diffstat (limited to 'src/lib/pubkey/ecdsa/ecdsa.cpp')
-rw-r--r--src/lib/pubkey/ecdsa/ecdsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/ecdsa/ecdsa.cpp b/src/lib/pubkey/ecdsa/ecdsa.cpp
index 53b5982e0..35a119420 100644
--- a/src/lib/pubkey/ecdsa/ecdsa.cpp
+++ b/src/lib/pubkey/ecdsa/ecdsa.cpp
@@ -26,7 +26,7 @@ bool ECDSA_PrivateKey::check_key(RandomNumberGenerator& rng,
if(!strong)
return true;
- return KeyPair::signature_consistency_check(rng, *this, "EMSA1(SHA-1)");
+ return KeyPair::signature_consistency_check(rng, *this, "EMSA1(SHA-256)");
}
namespace {