Commit c7a11f9e authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

crypt32/tests: Accept another error code on Win8.

parent a5807d08
...@@ -3724,7 +3724,7 @@ static void testAcquireCertPrivateKey(void) ...@@ -3724,7 +3724,7 @@ static void testAcquireCertPrivateKey(void)
&keyProvInfo); &keyProvInfo);
ret = pCryptAcquireCertificatePrivateKey(cert, 0, NULL, &csp, &keySpec, ret = pCryptAcquireCertificatePrivateKey(cert, 0, NULL, &csp, &keySpec,
&callerFree); &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()); "Expected CRYPT_E_NO_KEY_PROPERTY, got %08x\n", GetLastError());
pCryptAcquireContextA(&csp, cspNameA, MS_DEF_PROV_A, PROV_RSA_FULL, pCryptAcquireContextA(&csp, cspNameA, MS_DEF_PROV_A, PROV_RSA_FULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment