Commit 8b123043 authored by unknown's avatar unknown
Browse files

Move telpate instantiations of taocrypt objects to taocrypt/template_instnt.cpp

parent 3b76cfc2
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -35,13 +35,6 @@
#include "openssl/ssl.h"

#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
#if !defined(USE_CRYPTOPP_LIB)
namespace TaoCrypt {
template class HMAC<MD5>;
template class HMAC<SHA>;
template class HMAC<RIPEMD160>;
}
#endif  // USE_CRYPTOPP_LIB

namespace mySTL {
template class list<unsigned char*>;
+3 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
#include "sha.hpp"
#include "md5.hpp"
#include "hmac.hpp"
#include "ripemd.hpp"
#include "pwdbased.hpp"
#include "algebra.hpp"
#include "vector.hpp"
@@ -62,6 +63,8 @@ template void tcArrayDelete<char>(char*);
template class PBKDF2_HMAC<SHA>;
template class HMAC<MD5>;
template class HMAC<SHA>;
template class HMAC<RIPEMD160>;

}

namespace mySTL {