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:
Sven Baars 2019-10-19 14:28:56 +02:00 committed by Alexandre Julliard
parent 9099b9843f
commit 8180e338ea
1 changed files with 2 additions and 1 deletions

View File

@ -3911,7 +3911,8 @@ static BOOL can_do_https(void)
ok(req != NULL, "HttpOpenRequest failed\n"); ok(req != NULL, "HttpOpenRequest failed\n");
ret = HttpSendRequestA(req, NULL, 0, NULL, 0); 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()); "request failed: %u\n", GetLastError());
InternetCloseHandle(req); InternetCloseHandle(req);