crypt32: Fix a failing test in Vista.
This commit is contained in:
parent
77f6156724
commit
56d5a7f169
|
@ -102,9 +102,10 @@ static void testOIDToAlgID(void)
|
||||||
ok(!alg, "Expected failure, got %d\n", alg);
|
ok(!alg, "Expected failure, got %d\n", alg);
|
||||||
ok(GetLastError() == 0xdeadbeef ||
|
ok(GetLastError() == 0xdeadbeef ||
|
||||||
GetLastError() == ERROR_RESOURCE_NAME_NOT_FOUND ||
|
GetLastError() == ERROR_RESOURCE_NAME_NOT_FOUND ||
|
||||||
|
GetLastError() == ERROR_INVALID_PARAMETER || /* Vista */
|
||||||
GetLastError() == ERROR_SUCCESS, /* win2k */
|
GetLastError() == ERROR_SUCCESS, /* win2k */
|
||||||
"Expected ERROR_RESOURCE_NAME_NOT_FOUND, ERROR_SUCCESS "
|
"Expected ERROR_RESOURCE_NAME_NOT_FOUND, ERROR_INVALID_PARAMETER, "
|
||||||
"or no error set, got %08x\n", GetLastError());
|
"ERROR_SUCCESS or no error set, got %08x\n", GetLastError());
|
||||||
|
|
||||||
for (i = 0; i < sizeof(oidToAlgID) / sizeof(oidToAlgID[0]); i++)
|
for (i = 0; i < sizeof(oidToAlgID) / sizeof(oidToAlgID[0]); i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue