From aaad900d1edaba58d6073e5082530e42958a2201 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Mon, 12 Nov 2012 05:50:13 +0100 Subject: [PATCH] advapi32/tests: Fix a failure on 64bit NT 5.x. --- dlls/advapi32/tests/security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c index ba0750b520e..f5fc4e287f9 100644 --- a/dlls/advapi32/tests/security.c +++ b/dlls/advapi32/tests/security.c @@ -4294,7 +4294,7 @@ static void test_TokenIntegrityLevel(void) res = GetTokenInformation(token, TokenIntegrityLevel, buffer, sizeof(buffer), &size); /* not supported before Vista */ - if (!res && (GetLastError() == ERROR_INVALID_PARAMETER)) + if (!res && ((GetLastError() == ERROR_INVALID_PARAMETER) || GetLastError() == ERROR_INVALID_FUNCTION)) { win_skip("TokenIntegrityLevel not supported\n"); CloseHandle(token);