From 960adccc86396f5d2ef9ec1a7374bcc9de70b85a Mon Sep 17 00:00:00 2001 From: René Korthaus Date: Thu, 16 Jun 2016 13:03:23 +0200 Subject: fix test failures and seg faults when Botan is configured with --module-policy bsi --- src/lib/pubkey/ecdsa/ecdsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/pubkey/ecdsa/ecdsa.cpp') 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 { -- cgit v1.2.3