secur32: Added support for a few more algorithms in schannel_get_cipher_algid.

This commit is contained in:
Jacek Caban 2015-06-16 13:46:32 +02:00 committed by Alexandre Julliard
parent 1342254422
commit 3617e2b2a9
1 changed files with 4 additions and 1 deletions

View File

@ -299,7 +299,10 @@ static ALG_ID schannel_get_cipher_algid(gnutls_cipher_algorithm_t cipher)
case GNUTLS_CIPHER_DES_CBC: case GNUTLS_CIPHER_DES_CBC:
case GNUTLS_CIPHER_3DES_CBC: return CALG_DES; case GNUTLS_CIPHER_3DES_CBC: return CALG_DES;
case GNUTLS_CIPHER_AES_128_CBC: case GNUTLS_CIPHER_AES_128_CBC:
case GNUTLS_CIPHER_AES_256_CBC: return CALG_AES; case GNUTLS_CIPHER_AES_128_GCM: return CALG_AES_128;
case GNUTLS_CIPHER_AES_192_CBC: return CALG_AES_192;
case GNUTLS_CIPHER_AES_256_GCM:
case GNUTLS_CIPHER_AES_256_CBC: return CALG_AES_256;
case GNUTLS_CIPHER_RC2_40_CBC: return CALG_RC2; case GNUTLS_CIPHER_RC2_40_CBC: return CALG_RC2;
default: default:
FIXME("unknown algorithm %d\n", cipher); FIXME("unknown algorithm %d\n", cipher);