From 8abcfeddd859a0ef30f803d3b32afdecba61a44f Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 18 Jul 2012 15:52:30 +0200 Subject: [PATCH] secur32: Recognize some more TLS versions. --- dlls/secur32/schannel_gnutls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c index 96fb471aec..16ce0ded74 100644 --- a/dlls/secur32/schannel_gnutls.c +++ b/dlls/secur32/schannel_gnutls.c @@ -228,7 +228,9 @@ static DWORD schannel_get_protocol(gnutls_protocol_t proto) switch (proto) { case GNUTLS_SSL3: return SP_PROT_SSL3_CLIENT; - case GNUTLS_TLS1_0: return SP_PROT_TLS1_CLIENT; + case GNUTLS_TLS1_0: return SP_PROT_TLS1_0_CLIENT; + case GNUTLS_TLS1_1: return SP_PROT_TLS1_1_CLIENT; + case GNUTLS_TLS1_2: return SP_PROT_TLS1_2_CLIENT; default: FIXME("unknown protocol %d\n", proto); return 0; -- 2.32.0.93.g670b81a890