From 2cc31e87686583721537ca6fbd8abce62c3bcf8b Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sat, 31 Aug 2024 08:27:48 +0200 Subject: [PATCH] Disable TLSv1.0 test New schannel implementation requires TLSv1.2 or TLSv1.3 --- unittest/libmariadb/misc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/unittest/libmariadb/misc.c b/unittest/libmariadb/misc.c index 98a51c1f..136ffc62 100644 --- a/unittest/libmariadb/misc.c +++ b/unittest/libmariadb/misc.c @@ -1636,6 +1636,11 @@ static int test_disable_tls1_0(MYSQL *my __attribute__((unused))) MYSQL_ROW row; int rc; +#ifdef HAVE_SCHANNEL + diag("Test doesn't work with new Schannel TLSv1.3 implementation"); + return SKIP; +#endif + mysql_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL); mysql_optionsv(mysql, MARIADB_OPT_TLS_VERSION, disabled_version); mysql_optionsv(mysql, MARIADB_OPT_SSL_FP, fingerprint);