Hi Folks,
 I'm still looking for a solution to cryptopp crashing in FIPS mode.

 To clarify, I have DLL-A which uses the FIPS version of cryptopp. I
have DLL-B which also uses the FIPS version of cryptopp.

 My application loads DLL-A which in turn causes cryptopp to load.
cryptopp's s_pNew is NULL so it calls SetNewAndDeleteFunctionPointers
which then finds the procaddress of DLL-A's
SetNewAndDeleteFromCryptoPP() and then sets the s_pNew and s_pDelete
and pushes them into DLL-A for use.

 this works great.

 My application then calls WNetAddConnection() which loads my network
redirector dll which loads DLL-B which then causes a new DllMain call
for cryptopp. Cryptopp has already set it's s_pNew so it does not call
SetNewAndDeleteFunctionPointers() for the second DLL which is using it
which then fails to get the ProcAddress for
SetNewAndDeleteFromCryptoPP() in DLL-B which then causes DLL-B to have
NULL new/delete methods which makes everything fail in DLL-B.

 Can anyone help with a workaround for this issue?

Thanks!


-- 
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.

Reply via email to