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

Fix SKIP_TLS macro (unittest)

Since in 3.4 we use TLS connections by default, so checking force_tls
is not enough. We also need to check if fingerprint was set.
This commit is contained in:
Georg Richter
2024-04-30 11:33:04 +02:00
parent a63b826195
commit c6fa37300a

View File

@@ -76,7 +76,7 @@ if (IS_SKYSQL(hostname)) \
#endif
#define SKIP_TLS \
if (force_tls)\
if (force_tls || fingerprint[0])\
{\
diag("Test doesn't work with TLS");\
return SKIP;\