Commit 4c8cb197 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

winhttp/tests: Remove redundant comparison.

parent 3474850f
...@@ -996,7 +996,7 @@ static void test_secure_connection(void) ...@@ -996,7 +996,7 @@ static void test_secure_connection(void)
protocols = WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2; protocols = WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2;
ret = WinHttpSetOption(ses, WINHTTP_OPTION_SECURE_PROTOCOLS, &protocols, sizeof(protocols)); ret = WinHttpSetOption(ses, WINHTTP_OPTION_SECURE_PROTOCOLS, &protocols, sizeof(protocols));
err = GetLastError(); err = GetLastError();
ok(ret || (!ret && err == ERROR_INVALID_PARAMETER) /* < win7 */, "failed to set protocols %u\n", err); ok(ret || err == ERROR_INVALID_PARAMETER /* < win7 */, "failed to set protocols %u\n", err);
con = WinHttpConnect(ses, test_winehq, 443, 0); con = WinHttpConnect(ses, test_winehq, 443, 0);
ok(con != NULL, "failed to open a connection %u\n", GetLastError()); ok(con != NULL, "failed to open a connection %u\n", GetLastError());
......
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