wininet/tests: Handle ERROR_INTERNET_SEC_CERT_WEAK_SIGNATURE on newer 11.x versions.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-10-15 10:29:47 -05:00 committed by Alexandre Julliard
parent 8efa72d1a3
commit 1283f3807e
1 changed files with 4 additions and 7 deletions

View File

@ -1555,14 +1555,11 @@ static void test_InternetErrorDlg(void)
/* Handle some special cases */ /* Handle some special cases */
switch(i) switch(i)
{ {
case ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR: case ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR: /* later 9.x versions */
case ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR: case ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR: /* later 9.x versions */
case ERROR_INTERNET_SEC_CERT_WEAK_SIGNATURE: /* later 11.x versions */
if(res == ERROR_CANCELLED) if(res == ERROR_CANCELLED)
{ expected = ERROR_CANCELLED;
/* Some windows XP, w2k3 x64, W2K8 */
win_skip("Skipping some tests for %d\n", i);
continue;
}
break; break;
case ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED: case ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED:
if(res != expected) if(res != expected)