From d5bc3c7bce12cc426cc9865cea7625ac3f8c3397 Mon Sep 17 00:00:00 2001 From: Akihiro Sagawa Date: Mon, 17 Apr 2017 23:26:06 +0900 Subject: [PATCH] secur32: 3DES has a different ALG_ID. Signed-off-by: Akihiro Sagawa Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/secur32/schannel_gnutls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c index 44e88bd79b4..33686bc6519 100644 --- a/dlls/secur32/schannel_gnutls.c +++ b/dlls/secur32/schannel_gnutls.c @@ -300,8 +300,8 @@ static ALG_ID schannel_get_cipher_algid(int cipher) case GNUTLS_CIPHER_NULL: return 0; case GNUTLS_CIPHER_ARCFOUR_40: case GNUTLS_CIPHER_ARCFOUR_128: return CALG_RC4; - case GNUTLS_CIPHER_DES_CBC: - case GNUTLS_CIPHER_3DES_CBC: return CALG_DES; + case GNUTLS_CIPHER_DES_CBC: return CALG_DES; + case GNUTLS_CIPHER_3DES_CBC: return CALG_3DES; case GNUTLS_CIPHER_AES_128_CBC: case GNUTLS_CIPHER_AES_128_GCM: return CALG_AES_128; case GNUTLS_CIPHER_AES_192_CBC: return CALG_AES_192;