From c0aa5cf0c4df55a542a3f5c060fb840da4bc0b2d Mon Sep 17 00:00:00 2001 From: weidai Date: Sun, 20 Jun 2004 17:56:15 +0000 Subject: port to CodeWarrior 8.3 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@175 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- dll.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'dll.cpp') diff --git a/dll.cpp b/dll.cpp index ae67c12..24f4d8d 100644 --- a/dll.cpp +++ b/dll.cpp @@ -20,6 +20,23 @@ NAMESPACE_BEGIN(CryptoPP) +#ifdef __MWERKS__ +// CodeWarrior 8 workaround: explicit instantiations have to appear after member function definitions +CRYPTOPP_DLL_TEMPLATE_CLASS DL_GroupParameters_EC; +CRYPTOPP_DLL_TEMPLATE_CLASS DL_GroupParameters_EC; +CRYPTOPP_DLL_TEMPLATE_CLASS DL_FixedBasePrecomputationImpl; +CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase; +CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase; +CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase; +CRYPTOPP_DLL_TEMPLATE_CLASS CFB_CipherTemplate >; +CRYPTOPP_DLL_TEMPLATE_CLASS CFB_EncryptionTemplate >; +CRYPTOPP_DLL_TEMPLATE_CLASS CFB_DecryptionTemplate >; +CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate<>; +CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate >; +CRYPTOPP_DLL_TEMPLATE_CLASS AdditiveCipherTemplate >; +CRYPTOPP_DLL_TEMPLATE_CLASS AbstractEuclideanDomain; +#endif + template<> const byte PKCS_DigestDecoration::decoration[] = {0x30,0x21,0x30,0x09,0x06,0x05,0x2B,0x0E,0x03,0x02,0x1A,0x05,0x00,0x04,0x14}; template<> const unsigned int PKCS_DigestDecoration::length = sizeof(PKCS_DigestDecoration::decoration); -- cgit v1.2.1