Commit 2a0a34cc authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp/tests: Fix more test failures.

parent ea130e12
......@@ -3578,7 +3578,12 @@ static void test_passport_auth( int port )
ok( ret, "got %u\n", GetLastError() );
ret = WinHttpReceiveResponse( req, NULL );
ok( ret, "got %u\n", GetLastError() );
ok( ret || broken(!ret && GetLastError() == ERROR_WINHTTP_LOGIN_FAILURE) /* winxp */, "got %u\n", GetLastError() );
if (!ret && GetLastError() == ERROR_WINHTTP_LOGIN_FAILURE)
{
win_skip("no support for Passport redirects\n");
goto cleanup;
}
status = 0xdeadbeef;
size = sizeof(status);
......@@ -3602,6 +3607,7 @@ static void test_passport_auth( int port )
ok( !lstrcmpW(headersW, buf), "got %s\n", wine_dbgstr_w(buf) );
}
cleanup:
WinHttpCloseHandle( req );
WinHttpCloseHandle( con );
WinHttpCloseHandle( ses );
......
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