secur32: 3DES has a different ALG_ID.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Akihiro Sagawa 2017-04-17 23:26:06 +09:00 committed by Alexandre Julliard
parent 8981dac859
commit d5bc3c7bce
1 changed files with 2 additions and 2 deletions

View File

@ -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;