Module: wine
Branch: master
Commit: c7a11f9ed619dfd586e96917faa1ee83d64c7352
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c7a11f9ed619dfd586e96917faa1ee83d64c7352
Author: Nikolay Sivov <nsivov@codeweavers.com>
Date: Wed Feb 5 21:50:32 2014 +0400
crypt32/tests: Accept another error code on Win8.
---
dlls/crypt32/tests/cert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index bd67c18..9c95629 100644
--- a/dlls/crypt32/tests/cert.c
+++ b/dlls/crypt32/tests/cert.c
@@ -3724,7 +3724,7 @@ static void testAcquireCertPrivateKey(void)
&keyProvInfo);
ret = pCryptAcquireCertificatePrivateKey(cert, 0, NULL, &csp, &keySpec,
&callerFree);
- ok(!ret && GetLastError() == CRYPT_E_NO_KEY_PROPERTY,
+ ok(!ret && (GetLastError() == CRYPT_E_NO_KEY_PROPERTY || GetLastError() == NTE_BAD_KEYSET /* win8 */),
"Expected CRYPT_E_NO_KEY_PROPERTY, got %08x\n", GetLastError());
pCryptAcquireContextA(&csp, cspNameA, MS_DEF_PROV_A, PROV_RSA_FULL,