alpha-quadrant/net-p2p/kommute/files/gcc4.patch

83 lines
5.5 KiB
Diff
Raw Normal View History

2006-06-13 09:22:57 +02:00
--- MUTE/crypto/dll.cpp 2005-11-23 15:31:23.000000000 +0100
+++ MUTE/crypto/dll.cpp 2006-06-10 07:38:00.334382979 +0200
@@ -37,79 +37,6 @@
CRYPTOPP_DLL_TEMPLATE_CLASS AbstractEuclideanDomain<Integer>;
#endif
-#if defined(__GNUC__) && __GNUC__ > 3
-template class CRYPTOPP_DLL AbstractEuclideanDomain<Integer>;
-template class CRYPTOPP_DLL AbstractEuclideanDomain<PolynomialMod2>;
-template class CRYPTOPP_DLL AbstractGroup<Integer>;
-template class CRYPTOPP_DLL AbstractGroup<EC2NPoint>;
-template class CRYPTOPP_DLL AbstractGroup<ECPPoint>;
-template class CRYPTOPP_DLL AbstractGroup<PolynomialMod2>;
-template class CRYPTOPP_DLL AbstractPolicyHolder<AdditiveCipherAbstractPolicy, TwoBases<SimpleKeyedTransformation<StreamTransformation>, RandomNumberGenerator> >;
-template class CRYPTOPP_DLL AbstractRing<Integer>;
-template class CRYPTOPP_DLL AbstractRing<PolynomialMod2>;
-template class CRYPTOPP_DLL AdditiveCipherTemplate<>;
-template class CRYPTOPP_DLL AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, CTR_ModePolicy> >;
-template class CRYPTOPP_DLL AdditiveCipherTemplate<AbstractPolicyHolder<AdditiveCipherAbstractPolicy, OFB_ModePolicy> >;
-template class CRYPTOPP_DLL AllocatorWithCleanup<byte>;
-template class CRYPTOPP_DLL AllocatorWithCleanup<word16>;
-template class CRYPTOPP_DLL AllocatorWithCleanup<word32>;
-template class CRYPTOPP_DLL AutoSeededX917RNG<DES_EDE3>;
-template class CRYPTOPP_DLL CFB_CipherTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
-template class CRYPTOPP_DLL CFB_CipherTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher> >;
-template class CRYPTOPP_DLL CFB_DecryptionTemplate<>;
-template class CRYPTOPP_DLL CFB_DecryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
-template class CRYPTOPP_DLL CFB_EncryptionTemplate<>;
-template class CRYPTOPP_DLL CFB_EncryptionTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, CFB_ModePolicy> >;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Decryption>;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<CBC_CTS_Encryption>;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<CBC_Decryption>;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<CBC_Encryption>;
-template class CRYPTOPP_DLL CipherModeFinalTemplate_ExternalCipher<ECB_OneWay>;
-template class CRYPTOPP_DLL DH_Domain<DL_GroupParameters_GFP_DefaultSafePrime>;
-template class CRYPTOPP_DLL DL_Algorithm_GDSA<EC2N::Point>;
-template class CRYPTOPP_DLL DL_Algorithm_GDSA<ECP::Point>;
-template class CRYPTOPP_DLL DL_Algorithm_GDSA<Integer>;
-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl<EC2N::Point>;
-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl<ECPPoint>;
-template class CRYPTOPP_DLL DL_FixedBasePrecomputationImpl<Integer>;
-template class CRYPTOPP_DLL DL_GroupParameters<Integer>;
-template class CRYPTOPP_DLL DL_GroupParameters_EC<EC2N>;
-template class CRYPTOPP_DLL DL_GroupParameters_EC<ECP>;
-template class CRYPTOPP_DLL DL_GroupParameters_IntegerBasedImpl<ModExpPrecomputation>;
-template class CRYPTOPP_DLL DL_GroupPrecomputation<EC2N::Point>;
-template class CRYPTOPP_DLL DL_GroupPrecomputation<ECPPoint>;
-template class CRYPTOPP_DLL DL_PrivateKeyImpl<DL_GroupParameters_EC<EC2N> >;
-template class CRYPTOPP_DLL DL_PrivateKeyImpl<DL_GroupParameters_EC<ECP> >;
-template class CRYPTOPP_DLL DL_PrivateKey_EC<EC2N>;
-template class CRYPTOPP_DLL DL_PrivateKey_EC<ECP>;
-template class CRYPTOPP_DLL DL_PrivateKey_GFP<DL_GroupParameters_DSA>;
-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_EC<EC2N>, ECDSA<EC2N> >;
-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_EC<ECP>, ECDSA<ECP> >;
-template class CRYPTOPP_DLL DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_GFP<DL_GroupParameters_DSA>, DSA>;
-template class CRYPTOPP_DLL DL_PublicKeyImpl<DL_GroupParameters_EC<EC2N> >;
-template class CRYPTOPP_DLL DL_PublicKeyImpl<DL_GroupParameters_EC<ECP> >;
-template class CRYPTOPP_DLL DL_PublicKey_EC<EC2N>;
-template class CRYPTOPP_DLL DL_PublicKey_EC<ECP>;
-template class CRYPTOPP_DLL DL_PublicKey_GFP<DL_GroupParameters_DSA>;
-template class CRYPTOPP_DLL EuclideanDomainOf<PolynomialMod2>;
-template class CRYPTOPP_DLL IteratedHashBase<word32, HashTransformation>;
-template class CRYPTOPP_DLL IteratedHashBase<word32, MessageAuthenticationCode>;
-#ifdef WORD64_AVAILABLE
-template class CRYPTOPP_DLL IteratedHashBase<word64, HashTransformation>;
-template class CRYPTOPP_DLL IteratedHashBase<word64, MessageAuthenticationCode>;
-#endif
-template class CRYPTOPP_DLL OAEP<SHA>;
-#ifdef CRYPTOPP_IS_DLL
-template class CRYPTOPP_DLL PKCS_DigestDecoration<SHA>;
-#endif
-template class CRYPTOPP_DLL QuotientRing<EuclideanDomainOf<PolynomialMod2> >;
-template class CRYPTOPP_DLL SimpleKeyedTransformation<BlockTransformation>;
-template class CRYPTOPP_DLL SimpleKeyedTransformation<HashTransformation>;
-template class CRYPTOPP_DLL SimpleKeyedTransformation<StreamTransformation>;
-template class CRYPTOPP_DLL StringSinkTemplate<std::string>;
-template class CRYPTOPP_DLL TwoBases<SymmetricCipher, RandomNumberGenerator>;
-#endif // __GNUC__ > 3
-
template<> const byte PKCS_DigestDecoration<SHA>::decoration[] = {0x30,0x21,0x30,0x09,0x06,0x05,0x2B,0x0E,0x03,0x02,0x1A,0x05,0x00,0x04,0x14};
template<> const unsigned int PKCS_DigestDecoration<SHA>::length = sizeof(PKCS_DigestDecoration<SHA>::decoration);