diff options
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r-- | client/mysqladmin.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index c36c8a16881..e2c96d35c73 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -341,8 +341,12 @@ int main(int argc,char *argv[]) } #ifdef HAVE_OPENSSL if (opt_use_ssl) + { mysql_ssl_set(&mysql, opt_ssl_key, opt_ssl_cert, opt_ssl_ca, 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,MYSQL_OPT_SSL_VERIFY_SERVER_CERT, (char*)&opt_ssl_verify_server_cert); #endif |