On Feb 2, 12:01 pm, Jeffrey Walton <[email protected]> wrote: > On Feb 2, 10:17 am, Velja Radenkovic <[email protected]> wrote:> Hello, > > > I am using FIPS validated 5.3.0. dll. Last one from 3 in the > > list:http://www.cryptopp.com/#fips. > > > Whatever I try to do with library fails with debug assertion failure > > _BLOCK_TYPE_IS_VALID(pHead->nBlockUse). > > Obviously, you have a memory problem. A few questions: > Are you using Visual Studio 2005 (I don't recall Version numbers) > Are you mixing versions of the C/C++ runtime (the FIPS Dll uses > static linking, if I recall) > Are you doing anything with SetNewAndDelete >From your build log:
[ /Od /I "D:\PROJEKTI\php_encryptomatic\TestCryptopp\\cryptopp\Include\ \" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" / Gm /EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug\TestCryptopp.pch" /Fo"Debug \\" /Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP .\TestCryptopp.cpp ] /MDd is Debug DLL. I would try /MTd or /MT Debug (static linking of C/ C++ runtime). Jeff -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com.
