[PATCH 2/3] dssenh/tests: RC4 has been crippled in recent Windows versions.
Huw Davies
huw at codeweavers.com
Fri Nov 4 06:20:09 CDT 2016
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/dssenh/tests/dssenh.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/dssenh/tests/dssenh.c b/dlls/dssenh/tests/dssenh.c
index df5a1d1..a054003 100644
--- a/dlls/dssenh/tests/dssenh.c
+++ b/dlls/dssenh/tests/dssenh.c
@@ -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");
--
2.7.4
More information about the wine-patches
mailing list