Fix error paths in advapi32.CryptAcquireContextA

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


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


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

More information about the wine-patches mailing list