From 18c45d8be74cc7f9f6bd0c3edd300811a6d04806 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Wed, 10 Sep 2008 23:00:53 -0500 Subject: [PATCH] crypt32: Fix a failing test in Vista. --- dlls/crypt32/tests/oid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c index a583fc718fc..11451310812 100644 --- a/dlls/crypt32/tests/oid.c +++ b/dlls/crypt32/tests/oid.c @@ -103,7 +103,8 @@ static void testOIDToAlgID(void) ok(GetLastError() == 0xdeadbeef || GetLastError() == ERROR_RESOURCE_NAME_NOT_FOUND || GetLastError() == ERROR_INVALID_PARAMETER || /* Vista */ - GetLastError() == ERROR_SUCCESS, /* win2k */ + GetLastError() == ERROR_SUCCESS || /* win2k */ + GetLastError() == ERROR_FILE_INVALID, /* another Vista */ "Expected ERROR_RESOURCE_NAME_NOT_FOUND, ERROR_INVALID_PARAMETER, " "ERROR_SUCCESS or no error set, got %08x\n", GetLastError());