Commit f36b5934 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

advapi32: Fix test failure on some NT4 machines.

parent c0c781b1
...@@ -945,7 +945,8 @@ static void test_machine_guid(void) ...@@ -945,7 +945,8 @@ static void test_machine_guid(void)
r); r);
/* Create and release a provider */ /* Create and release a provider */
ret = pCryptAcquireContextA(&hCryptProv, szKeySet, NULL, PROV_RSA_FULL, 0); ret = pCryptAcquireContextA(&hCryptProv, szKeySet, NULL, PROV_RSA_FULL, 0);
ok(ret, "CryptAcquireContextA failed: %08x\n", GetLastError()); ok(ret || broken(!ret && GetLastError() == NTE_KEYSET_ENTRY_BAD /* NT4 */),
"CryptAcquireContextA failed: %08x\n", GetLastError());
pCryptReleaseContext(hCryptProv, 0); pCryptReleaseContext(hCryptProv, 0);
if (restoreGuid) if (restoreGuid)
......
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