[PATCH 3/3] dssenh/tests: Use a non-crippled algorithm in the key exchange tests.

Huw Davies huw at codeweavers.com
Fri Nov 4 06:20:10 CDT 2016


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/dssenh/tests/dssenh.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dssenh/tests/dssenh.c b/dlls/dssenh/tests/dssenh.c
index a054003..f07b0d3 100644
--- a/dlls/dssenh/tests/dssenh.c
+++ b/dlls/dssenh/tests/dssenh.c
@@ -1317,11 +1317,11 @@ static void test_keyExchange_dssDH(HCRYPTPROV hProv, const struct keyExchange_te
         ok(result, "Failed to import key for user 2, got %x\n", GetLastError());
 
         /* Set the shared key parameters to matching cipher type */
-        algid = CALG_RC4;
+        algid = CALG_3DES;
         result = CryptSetKeyParam(sessionKey1, KP_ALGID, (BYTE *)&algid, 0);
         ok(result, "Failed to set session key for user 1, got %x\n", GetLastError());
 
-        algid = CALG_RC4;
+        algid = CALG_3DES;
         result = CryptSetKeyParam(sessionKey2, KP_ALGID, (BYTE *)&algid, 0);
         ok(result, "Failed to set session key for user 2, got %x\n", GetLastError());
 
-- 
2.7.4




More information about the wine-patches mailing list