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

Fix failing tests when server runs on a different machine

This commit is contained in:
Georg Richter
2024-06-10 13:19:49 +02:00
parent 5efe1e61e2
commit f97bb2e92e
5 changed files with 15 additions and 9 deletions

View File

@@ -1638,6 +1638,7 @@ static int test_disable_tls1_0(MYSQL *my __attribute__((unused)))
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);
FAIL_IF(!mysql_real_connect(mysql, hostname, username, password, schema,
port, socketname, 0), mysql_error(mysql));