From 58d773da30cd44900d33f2dbfc62b4826c39bd2e Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Wed, 30 Oct 2024 08:38:28 +0100 Subject: [PATCH] Schannel - parse TLSv1.0, but ignore attempt to use it This is apparently what server test suite wants in tls_version.test --- libmariadb/secure/schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmariadb/secure/schannel.c b/libmariadb/secure/schannel.c index 47763c47..3f33a4f9 100644 --- a/libmariadb/secure/schannel.c +++ b/libmariadb/secure/schannel.c @@ -274,7 +274,7 @@ static struct _tls_version { const char *tls_version; DWORD protocol; } tls_version[]= { - {"TLSv1.0", PROT_TLS1_0}, + {"TLSv1.0", 0}, {"TLSv1.1", PROT_TLS1_1}, {"TLSv1.2", PROT_TLS1_2}, {"TLSv1.3", PROT_TLS1_3},