dssenh/tests: RC4 has been crippled in recent Windows versions.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2016-11-04 11:20:09 +00:00 committed by Alexandre Julliard
parent 43204a0d92
commit 25b744b0af

View file

@ -639,7 +639,8 @@ static void test_data_encryption(const struct encrypt_test *tests, int testLen)
ok(result, "Expected data decryption.\n");
/* Verify we have received expected decrypted data */
ok(!memcmp(pbData, tests[i].decrypted, dataLen), "Incorrect decrypted data.\n");
ok(!memcmp(pbData, tests[i].decrypted, dataLen) ||
broken(tests[i].algid == CALG_RC4), "Incorrect decrypted data.\n");
result = CryptDestroyKey(pKey);
ok(result, "Expected no DestroyKey errors.\n");