diff --git a/secblock.h b/secblock.h index 862f28bd..375f8209 100644 --- a/secblock.h +++ b/secblock.h @@ -244,8 +244,11 @@ CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; +#if defined(CRYPTOPP_WORD128_AVAILABLE) +CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; // for Integer +#endif #if CRYPTOPP_BOOL_X86 -CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; // for Integer +CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; // for Integer #endif //! \class NullAllocator diff --git a/validat1.cpp b/validat1.cpp index 6a022d5c..36c888dd 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -1229,7 +1229,7 @@ bool TestSecBlock() try { static const unsigned int SIZE = 8; - SecBlockWithHint block(SIZE); + SecBlock > block(SIZE); memset(block, 0xaa, block.SizeInBytes()); temp = true;