http://bugs.winehq.org/show_bug.cgi?id=11052
--- Comment #8 from Peter Oberndorfer kumbayo84+wine_bugzilla@gmail.com 2008-01-09 12:01:38 --- (In reply to comment #7)
Created an attachment (id=10118)
--> (http://bugs.winehq.org/attachment.cgi?id=10118) [details]
Possible fix
Does this patch fix it for you?
Yes this patch fixes the problem. I still wonder if we should try to free the handle when crypt32.dll is unloaded by FreeLibrary instead of process shutdown In this case we hypotetically keep rsaenh.dll in memory while crypt32 is unloaded. But i don't know if it matters/or works the way i propose(checking the reserved value in DllMain)