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:
parent
8981dac859
commit
d5bc3c7bce
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue