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
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:
@@ -76,7 +76,7 @@ if (IS_SKYSQL(hostname)) \
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SKIP_TLS \
|
#define SKIP_TLS \
|
||||||
if (force_tls)\
|
if (force_tls || fingerprint[0])\
|
||||||
{\
|
{\
|
||||||
diag("Test doesn't work with TLS");\
|
diag("Test doesn't work with TLS");\
|
||||||
return SKIP;\
|
return SKIP;\
|
||||||
|
Reference in New Issue
Block a user