Jacek Caban : wininet/tests: Fixed more tests on IE11.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Sep 5 11:10:37 CDT 2014


Module: wine
Branch: master
Commit: 3241d8450aad2811ef574e5eeca2e25a6fc878a0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3241d8450aad2811ef574e5eeca2e25a6fc878a0

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Sep  5 16:14:12 2014 +0200

wininet/tests: Fixed more tests on IE11.

---

 dlls/wininet/tests/http.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index 0a840a2..ad6622c 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -4224,7 +4224,7 @@ static void test_cert_struct(HINTERNET req, const cert_struct_test_t *test)
     ok(!info.lpszSignatureAlgName, "lpszSignatureAlgName = %s\n", info.lpszSignatureAlgName);
     ok(!info.lpszEncryptionAlgName, "lpszEncryptionAlgName = %s\n", info.lpszEncryptionAlgName);
     ok(!info.lpszProtocolName, "lpszProtocolName = %s\n", info.lpszProtocolName);
-    ok(info.dwKeySize == 128, "dwKeySize = %u\n", info.dwKeySize);
+    ok(info.dwKeySize == 128 || info.dwKeySize == 256, "dwKeySize = %u\n", info.dwKeySize);
 
     release_cert_info(&info);
 }
@@ -4811,7 +4811,6 @@ static void test_user_agent_header(void)
     ret = HttpQueryInfoA(req, HTTP_QUERY_USER_AGENT | HTTP_QUERY_FLAG_REQUEST_HEADERS, buffer, &size, NULL);
     err = GetLastError();
     ok(ret, "HttpQueryInfo failed\n");
-    ok(err == ERROR_HTTP_HEADER_NOT_FOUND, "expected ERROR_HTTP_HEADER_NOT_FOUND, got %u\n", err);
 
     InternetCloseHandle(req);
 




More information about the wine-cvs mailing list