Huw Davies : dssenh/tests: RC4 has been crippled in recent Windows versions.
Alexandre Julliard
julliard at winehq.org
Fri Nov 4 15:15:53 CDT 2016
Module: wine
Branch: master
Commit: 25b744b0afc411a7e31a50dacd9e08338894db76
URL: http://source.winehq.org/git/wine.git/?a=commit;h=25b744b0afc411a7e31a50dacd9e08338894db76
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Nov 4 11:20:09 2016 +0000
dssenh/tests: RC4 has been crippled in recent Windows versions.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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");
More information about the wine-cvs
mailing list