You've already forked mariadb-connector-c
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user