crypt32.dll: Check the result of CryptAcquireContextW() when initializing default provider

Paul Chitescu paulc at voip.null.ro
Fri Nov 6 06:18:14 CST 2009


Changelog:
	crypt32.dll: Check the result of CryptAcquireContextW() when initializing 
default provider.

Return the content of hDefProv just in case a "fortunate race condition" 
manages to initialize it from another thread. This looks weird but the current 
code didn't prevent it either.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: crypt32_checkcontext.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091106/217096d7/attachment.bin>


More information about the wine-patches mailing list