cryptnet/tests: Partially revert commit de6e33f306a3b1b424ad1a9c41e85d3692ef9e4d
Joris Huizer
joris_huizer at yahoo.com
Fri Mar 11 07:40:15 CST 2011
Hello,
I found a small (copy/paste) mistake in this patch:
- /* w2k3,XP, newer w2k: CRYPT_E_NO_MATCH */
- ok(!ret && (GetLastError() == CRYPT_E_NO_MATCH),
+ /* w2k3,XP, newer w2k: CRYPT_E_NO_MATCH, older w2k: CRYPT_E_ASN1_BADTAG */
+ ok(!ret && (GetLastError() == CRYPT_E_NO_MATCH ||
+ broken(GetLastError() == CRYPT_E_NO_MATCH)),
The comment indicates the alternative error, but the actual code doesn't check that one
HTH,
Joris
More information about the wine-devel
mailing list