Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND.

This commit is contained in:
Jakob Eriksson 2005-02-23 12:44:15 +00:00 committed by Alexandre Julliard
parent 16875ac3b2
commit e2dab32daa
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ static void test_acquire_context(void)
hProv = 0;
SetLastError(0xdeadbeef);
result = pCryptAcquireContextA(&hProv, szKeySet, "", PROV_RSA_FULL, 0);
ok(result && (GetLastError() == ERROR_SUCCESS || GetLastError() == ERROR_RING2_STACK_IN_USE), "%d/%ld\n", result, GetLastError());
ok(result && (GetLastError() == ERROR_ENVVAR_NOT_FOUND || GetLastError() == ERROR_SUCCESS || GetLastError() == ERROR_RING2_STACK_IN_USE), "%d/%ld\n", result, GetLastError());
if (hProv)
pCryptReleaseContext(hProv, 0);