Fix error paths in advapi32.CryptAcquireContextA

Robert Shearman R.J.Shearman at warwick.ac.uk
Tue Oct 21 13:31:38 CDT 2003


Hi,

This patch tries to make the error cases in CryptAcquireContextA a bit nicer. 
In particular, without this patch some error paths didn't call SetLastError. 
This meant that some braindead apps thought that it had succeeded.
While I was there I also made the function call the commented out verify 
function (but it currently does nothing).

Rob

Changelog:
- Fix error paths in advapi32.CryptAcquireContextA
- Call CRYPT_VerifyImage to verify the signature, even though it currently 
does nothing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crypt.diff
Type: text/x-diff
Size: 4321 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031021/1689aefe/crypt.bin


More information about the wine-patches mailing list