1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Disable TLSv1.0 test

New schannel implementation requires TLSv1.2 or TLSv1.3
This commit is contained in:
Georg Richter
2024-08-31 08:27:48 +02:00
parent 57f38cf87f
commit 2cc31e8768

View File

@@ -1636,6 +1636,11 @@ static int test_disable_tls1_0(MYSQL *my __attribute__((unused)))
MYSQL_ROW row; MYSQL_ROW row;
int rc; 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_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL);
mysql_optionsv(mysql, MARIADB_OPT_TLS_VERSION, disabled_version); mysql_optionsv(mysql, MARIADB_OPT_TLS_VERSION, disabled_version);
mysql_optionsv(mysql, MARIADB_OPT_SSL_FP, fingerprint); mysql_optionsv(mysql, MARIADB_OPT_SSL_FP, fingerprint);