diff options
author | Georg Richter <georg@mariadb.com> | 2018-12-03 13:55:20 +0100 |
---|---|---|
committer | Georg Richter <georg@mariadb.com> | 2018-12-03 13:55:20 +0100 |
commit | 0513237f82730cd54fa0aabf4a1b7513f0fc8779 (patch) | |
tree | 0ce53850c6c2058909b1fd1dab45daeb502766f9 /client/mysql.cc | |
parent | 3728b11f879634a7ddab39cb951aedceadba80b1 (diff) | |
download | mariadb-git-bb_mdev14101.tar.gz |
MDEV-14101: Provide option to specify tls_version for client toolsbb_mdev14101
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index e9a17a3f358..8f023ce7349 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1369,6 +1369,7 @@ static bool do_connect(MYSQL *mysql, const char *host, const char *user, opt_ssl_capath, opt_ssl_cipher); mysql_options(mysql, MYSQL_OPT_SSL_CRL, opt_ssl_crl); mysql_options(mysql, MYSQL_OPT_SSL_CRLPATH, opt_ssl_crlpath); + mysql_options(mysql, MARIADB_OPT_TLS_VERSION, (void *)opt_tls_version); } mysql_options(mysql,MYSQL_OPT_SSL_VERIFY_SERVER_CERT, (char*)&opt_ssl_verify_server_cert); |