From 3617e2b2a9f028347702c87da97e6a74f854027e Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 16 Jun 2015 13:46:32 +0200 Subject: [PATCH] secur32: Added support for a few more algorithms in schannel_get_cipher_algid. --- dlls/secur32/schannel_gnutls.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c index 7039dcdb7ab..16b8c5ff546 100644 --- a/dlls/secur32/schannel_gnutls.c +++ b/dlls/secur32/schannel_gnutls.c @@ -299,7 +299,10 @@ static ALG_ID schannel_get_cipher_algid(gnutls_cipher_algorithm_t cipher) case GNUTLS_CIPHER_DES_CBC: case GNUTLS_CIPHER_3DES_CBC: return CALG_DES; 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; default: FIXME("unknown algorithm %d\n", cipher);