Commit 0a17b701 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

rsaenh/tests: Skip broken TLS1 tests on Windows 8 and greater.

parent d4fab3b4
......@@ -2801,8 +2801,18 @@ static void test_schannel_provider(void)
if (!result) return;
result = CryptCreateHash(hProv, CALG_SCHANNEL_MASTER_HASH, hMasterSecret, 0, &hMasterHash);
ok (result, "%08x\n", GetLastError());
if (!result) return;
ok (result ||
broken(!result), /* Windows 8 and greater */
"%08x\n", GetLastError());
if (!result)
{
win_skip("Broken TLS1 hash creation\n");
CryptDestroyKey(hRSAKey);
CryptDestroyKey(hMasterSecret);
CryptReleaseContext(hProv, 0);
CryptAcquireContextA(&hProv, NULL, NULL, PROV_RSA_SCHANNEL, CRYPT_DELETEKEYSET);
return;
}
/* Deriving the server write encryption key from the master hash can't
* succeed before the encryption key algorithm is set.
......
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