Module: wine Branch: master Commit: 25b744b0afc411a7e31a50dacd9e08338894db76 URL: http://source.winehq.org/git/wine.git/?a=commit;h=25b744b0afc411a7e31a50dacd...
Author: Huw Davies huw@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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");