James Hawkins : crypt32: Fix a failing test in Vista.
Module: wine Branch: master Commit: 56d5a7f16946975e72686807cda5363341536585 URL: http://source.winehq.org/git/wine.git/?a=commit;h=56d5a7f16946975e72686807cd... Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Thu Aug 28 21:16:38 2008 -0500 crypt32: Fix a failing test in Vista. --- dlls/crypt32/tests/oid.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c index 0ec6c29..a583fc7 100644 --- a/dlls/crypt32/tests/oid.c +++ b/dlls/crypt32/tests/oid.c @@ -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++) {
participants (1)
-
Alexandre Julliard