http://bugs.winehq.org/show_bug.cgi?id=27036
--- Comment #14 from Austin English austinenglish@gmail.com 2012-03-18 16:52:41 CDT --- (In reply to comment #13)
Created attachment 39449 [details] [3/3] ntdll: HACK - Make libgcrypt thread-safe.
A couple people have asked me for this, so here you guys go. It's the proper way to fix it, but not the proper place. Basically the changes this makes to ntdll need to be made in each dll that actually loads a lib that uses libgcrypt instead of in ntdll. The only one I know of is secur32 via libgnutls, but there is at least 1 other.
Just a guess, but a few dlls import secur32: austin@aw21 ~/wine-git $ git grep secur32 | grep IMPORT dlls/rpcrt4/Makefile.in:DELAYIMPORTS = iphlpapi wininet secur32 user32 dlls/schannel/Makefile.in:IMPORTS = secur32 dlls/secur32/Makefile.in:IMPORTLIB = secur32 dlls/security/Makefile.in:IMPORTS = secur32 dlls/wininet/Makefile.in:DELAYIMPORTS = secur32 crypt32 cryptui