summaryrefslogtreecommitdiff
path: root/client/mysql.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2023-02-12 13:13:57 +0100
committerSergei Golubchik <serg@mariadb.org>2023-05-02 14:24:37 +0200
commitc5e9613151bf52e376cdab9604033deea7209fcd (patch)
tree76d1474ff9c9abdb4504aedac4030a2f3b9dc382 /client/mysql.cc
parente02a2f4e9f2dec1a4f4740fa302bd09c5981f908 (diff)
downloadmariadb-git-bb-10.10-serg.tar.gz
Revert "don't use ssl for windows named pipes - it doesn't work"bb-10.10-serg
This reverts commit e1caa4bd5e8b4645944b85d4b603bf9fc9ef6ca4. Will be fixed in CONC-635 instead
Diffstat (limited to 'client/mysql.cc')
-rw-r--r--client/mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index cf541160ea6..fff0c5984ad 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1481,7 +1481,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 && opt_protocol <= MYSQL_PROTOCOL_SOCKET)
+ if (opt_use_ssl)
{
mysql_ssl_set(mysql, opt_ssl_key, opt_ssl_cert, opt_ssl_ca,
opt_ssl_capath, opt_ssl_cipher);