You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Added new option MARIADB_OPT_SSL_PASSWORD which allows use of
decrypted client certificate (private key only). Currently this option is supported by GnuTLS and OpenSSL only
This commit is contained in:
@@ -674,7 +674,7 @@ static int test_wrong_bind_address(MYSQL *my)
|
||||
char *bind_addr= "100.188.111.112";
|
||||
MYSQL *mysql;
|
||||
|
||||
if (!strcmp(hostname, "localhost"))
|
||||
if (!hostname || !strcmp(hostname, "localhost"))
|
||||
{
|
||||
diag("test doesn't work with unix sockets");
|
||||
return SKIP;
|
||||
@@ -702,7 +702,7 @@ static int test_bind_address(MYSQL *my)
|
||||
char query[128];
|
||||
int rc;
|
||||
|
||||
if (!strcmp(hostname, "localhost"))
|
||||
if (!hostname || !strcmp(hostname, "localhost"))
|
||||
{
|
||||
diag("test doesn't work with unix sockets");
|
||||
return SKIP;
|
||||
|
Reference in New Issue
Block a user