diff options
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 2 |
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); |