urlmon/tests: Fix a test failure on Windows XP.
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9099b9843f
commit
8180e338ea
|
@ -3911,7 +3911,8 @@ static BOOL can_do_https(void)
|
|||
ok(req != NULL, "HttpOpenRequest failed\n");
|
||||
|
||||
ret = HttpSendRequestA(req, NULL, 0, NULL, 0);
|
||||
ok(ret || broken(GetLastError() == ERROR_INTERNET_CANNOT_CONNECT),
|
||||
ok(ret || broken(GetLastError() == ERROR_INTERNET_CANNOT_CONNECT)
|
||||
|| broken(GetLastError() == ERROR_INTERNET_SECURITY_CHANNEL_ERROR) /* WinXP */,
|
||||
"request failed: %u\n", GetLastError());
|
||||
|
||||
InternetCloseHandle(req);
|
||||
|
|
Loading…
Reference in New Issue