mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
don't use ssl for windows named pipes - it doesn't work
This commit is contained in:
@@ -1491,7 +1491,7 @@ static bool do_connect(MYSQL *mysql, const char *host, const char *user,
|
||||
if (opt_secure_auth)
|
||||
mysql_options(mysql, MYSQL_SECURE_AUTH, (char *) &opt_secure_auth);
|
||||
#if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
|
||||
if (opt_use_ssl)
|
||||
if (opt_use_ssl && opt_protocol <= MYSQL_PROTOCOL_SOCKET)
|
||||
{
|
||||
mysql_ssl_set(mysql, opt_ssl_key, opt_ssl_cert, opt_ssl_ca,
|
||||
opt_ssl_capath, opt_ssl_cipher);
|
||||
|
Reference in New Issue
Block a user