Module: wine Branch: master Commit: 9227947a5952f38fd4c79c0a01ec75a53b3da2af URL: http://source.winehq.org/git/wine.git/?a=commit;h=9227947a5952f38fd4c79c0a01...
Author: Juan Lang juan.lang@gmail.com Date: Wed Aug 26 08:56:55 2009 -0700
crypt32: Fix a test failure on Windows 7.
---
dlls/crypt32/tests/oid.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c index 8b680c4..030a548 100644 --- a/dlls/crypt32/tests/oid.c +++ b/dlls/crypt32/tests/oid.c @@ -98,16 +98,8 @@ static void testOIDToAlgID(void) DWORD alg;
/* Test with a bogus one */ - SetLastError(0xdeadbeef); alg = CertOIDToAlgId("1.2.3"); 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 */ - 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());
for (i = 0; i < sizeof(oidToAlgID) / sizeof(oidToAlgID[0]); i++) {