From 7f21596d107165902d648d8decde21f19947d5af Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 28 Jun 2010 22:49:51 +0000 Subject: [PATCH] don't default to SHA-1 for ECDSA --- eccrypto.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eccrypto.h b/eccrypto.h index 8d95780c..b359e033 100644 --- a/eccrypto.h +++ b/eccrypto.h @@ -197,7 +197,7 @@ struct DL_Keys_EC typedef DL_PrivateKey_EC PrivateKey; }; -template +template struct ECDSA; //! ECDSA keys @@ -205,7 +205,7 @@ template struct DL_Keys_ECDSA { typedef DL_PublicKey_EC PublicKey; - typedef DL_PrivateKey_WithSignaturePairwiseConsistencyTest, ECDSA > PrivateKey; + typedef DL_PrivateKey_WithSignaturePairwiseConsistencyTest, ECDSA > PrivateKey; }; //! ECDSA algorithm @@ -272,8 +272,8 @@ CRYPTOPP_DLL_TEMPLATE_CLASS DL_PrivateKey_EC; CRYPTOPP_DLL_TEMPLATE_CLASS DL_PrivateKey_EC; CRYPTOPP_DLL_TEMPLATE_CLASS DL_Algorithm_GDSA; CRYPTOPP_DLL_TEMPLATE_CLASS DL_Algorithm_GDSA; -CRYPTOPP_DLL_TEMPLATE_CLASS DL_PrivateKey_WithSignaturePairwiseConsistencyTest, ECDSA >; -CRYPTOPP_DLL_TEMPLATE_CLASS DL_PrivateKey_WithSignaturePairwiseConsistencyTest, ECDSA >; +CRYPTOPP_DLL_TEMPLATE_CLASS DL_PrivateKey_WithSignaturePairwiseConsistencyTest, ECDSA >; +CRYPTOPP_DLL_TEMPLATE_CLASS DL_PrivateKey_WithSignaturePairwiseConsistencyTest, ECDSA >; NAMESPACE_END