Commit 56d5a7f1 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

crypt32: Fix a failing test in Vista.

parent 77f61567
......@@ -102,9 +102,10 @@ static void testOIDToAlgID(void)
ok(!alg, "Expected failure, got %d\n", alg);
ok(GetLastError() == 0xdeadbeef ||
GetLastError() == ERROR_RESOURCE_NAME_NOT_FOUND ||
GetLastError() == ERROR_INVALID_PARAMETER || /* Vista */
GetLastError() == ERROR_SUCCESS, /* win2k */
"Expected ERROR_RESOURCE_NAME_NOT_FOUND, ERROR_SUCCESS "
"or no error set, got %08x\n", GetLastError());
"Expected ERROR_RESOURCE_NAME_NOT_FOUND, ERROR_INVALID_PARAMETER, "
"ERROR_SUCCESS or no error set, got %08x\n", GetLastError());
for (i = 0; i < sizeof(oidToAlgID) / sizeof(oidToAlgID[0]); i++)
{
......
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