Huw Davies : dssenh/tests: Use a non-crippled algorithm in the key exchange tests.
Alexandre Julliard
julliard at winehq.org
Fri Nov 4 15:15:53 CDT 2016
Module: wine
Branch: master
Commit: 07115ab98fef3d2256fc004459072408c36945b7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=07115ab98fef3d2256fc004459072408c36945b7
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Nov 4 11:20:10 2016 +0000
dssenh/tests: Use a non-crippled algorithm in the key exchange tests.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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());
More information about the wine-cvs
mailing list