Commit 81745f1c authored by Ivan Leo's avatar Ivan Leo Committed by Alexandre Julliard

advapi32/tests: Fix a crash when ConvertSidToStringSidA isn't available.

parent 1ad6c1b9
......@@ -706,6 +706,9 @@ static void test_token_attr(void)
DWORD i, GLE;
LPSTR SidString;
if(!pConvertSidToStringSidA)
return;
ret = OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &Token);
GLE = GetLastError();
ok(ret || (GLE == ERROR_CALL_NOT_IMPLEMENTED),
......
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