diff options
author | svoj@mysql.com <> | 2005-06-03 00:28:18 +0500 |
---|---|---|
committer | svoj@mysql.com <> | 2005-06-03 00:28:18 +0500 |
commit | 681b974b1eb0164d0e125aa0e461caac8af88404 (patch) | |
tree | 054911ae2a79819c88f56811117a32d60f23b6fd /extra | |
parent | 0e139b89083f03b811581ba84622bd5c3ad4a730 (diff) | |
download | mariadb-git-681b974b1eb0164d0e125aa0e461caac8af88404.tar.gz |
WL#2286 - Compile MySQL w/YASSL support
Compilation errors fixes.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/yassl/taocrypt/src/integer.cpp | 2 | ||||
-rw-r--r-- | extra/yassl/taocrypt/src/template_instnt.cpp | 14 |
2 files changed, 12 insertions, 4 deletions
diff --git a/extra/yassl/taocrypt/src/integer.cpp b/extra/yassl/taocrypt/src/integer.cpp index 67f3c963cac..3df1df9beab 100644 --- a/extra/yassl/taocrypt/src/integer.cpp +++ b/extra/yassl/taocrypt/src/integer.cpp @@ -3941,6 +3941,8 @@ Integer CRT(const Integer &xp, const Integer &p, const Integer &xq, #ifdef __GNUC__ template unsigned int DivideThreeWordsByTwo<unsigned int, DWord>(unsigned int*, unsigned int, unsigned int, DWord*); +template unsigned int DivideThreeWordsByTwo<unsigned int, Word>(unsigned int*, unsigned int, unsigned int, Word*); +template unsigned long long DivideThreeWordsByTwo<unsigned long long, DWord>(unsigned long long*, unsigned long long, unsigned long long, DWord*); #endif } // namespace diff --git a/extra/yassl/taocrypt/src/template_instnt.cpp b/extra/yassl/taocrypt/src/template_instnt.cpp index 28dbdc5c739..5fed1ee5ae4 100644 --- a/extra/yassl/taocrypt/src/template_instnt.cpp +++ b/extra/yassl/taocrypt/src/template_instnt.cpp @@ -11,6 +11,7 @@ template AlignedAllocator<unsigned int>::pointer StdReallocate<unsigned int, Ali #endif template AllocatorWithCleanup<unsigned char>::pointer StdReallocate<unsigned char, AllocatorWithCleanup<unsigned char> >(AllocatorWithCleanup<unsigned char>&, unsigned char*, AllocatorWithCleanup<unsigned char>::size_type, AllocatorWithCleanup<unsigned char>::size_type, bool); template AllocatorWithCleanup<unsigned int>::pointer StdReallocate<unsigned int, AllocatorWithCleanup<unsigned int> >(AllocatorWithCleanup<unsigned int>&, unsigned int*, AllocatorWithCleanup<unsigned int>::size_type, AllocatorWithCleanup<unsigned int>::size_type, bool); +template AllocatorWithCleanup<unsigned long long>::pointer StdReallocate<unsigned long long, AllocatorWithCleanup<unsigned long long> >(AllocatorWithCleanup<unsigned long long>&, unsigned long long*, AllocatorWithCleanup<unsigned long long>::size_type, AllocatorWithCleanup<unsigned long long>::size_type, bool); template class RSA_Decryptor<RSA_BlockType2>; template class RSA_Encryptor<RSA_BlockType1>; template class RSA_Encryptor<RSA_BlockType2>; @@ -18,14 +19,19 @@ template class RSA_Encryptor<RSA_BlockType2>; namespace mySTL { template vector<TaoCrypt::Integer>* uninit_fill_n<vector<TaoCrypt::Integer>*, unsigned int, vector<TaoCrypt::Integer> >(vector<TaoCrypt::Integer>*, unsigned int, vector<TaoCrypt::Integer> const&); +template vector<TaoCrypt::Integer>* uninit_fill_n<vector<TaoCrypt::Integer>*, unsigned long, vector<TaoCrypt::Integer> >(vector<TaoCrypt::Integer>*, unsigned long, vector<TaoCrypt::Integer> const&); template void destroy<vector<TaoCrypt::Integer>*>(vector<TaoCrypt::Integer>*, vector<TaoCrypt::Integer>*); template TaoCrypt::Integer* uninit_copy<TaoCrypt::Integer*, TaoCrypt::Integer*>(TaoCrypt::Integer*, TaoCrypt::Integer*, TaoCrypt::Integer*); template TaoCrypt::Integer* uninit_fill_n<TaoCrypt::Integer*, unsigned int, TaoCrypt::Integer>(TaoCrypt::Integer*, unsigned int, TaoCrypt::Integer const&); +template TaoCrypt::Integer* uninit_fill_n<TaoCrypt::Integer*, unsigned long, TaoCrypt::Integer>(TaoCrypt::Integer*, unsigned long, TaoCrypt::Integer const&); template void destroy<TaoCrypt::Integer*>(TaoCrypt::Integer*, TaoCrypt::Integer*); } -template void TaoCrypt::tcDelete<TaoCrypt::HASH>(TaoCrypt::HASH*); -template void TaoCrypt::tcArrayDelete<unsigned>(unsigned*); -template void TaoCrypt::tcArrayDelete<unsigned char>(unsigned char*); -template void TaoCrypt::tcArrayDelete<char>(char*); +namespace TaoCrypt { +template void tcDelete<HASH>(HASH*); +template void tcArrayDelete<unsigned>(unsigned*); +template void tcArrayDelete<unsigned long long>(unsigned long long*); +template void tcArrayDelete<unsigned char>(unsigned char*); +template void tcArrayDelete<char>(char*); +} #endif |