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 /include/sslopt-longopts.h | |
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 'include/sslopt-longopts.h')
-rw-r--r-- | include/sslopt-longopts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sslopt-longopts.h b/include/sslopt-longopts.h index e605d0134e7..e940e46816e 100644 --- a/include/sslopt-longopts.h +++ b/include/sslopt-longopts.h @@ -46,6 +46,11 @@ "Certificate revocation list path (implies --ssl).", &opt_ssl_crlpath, &opt_ssl_crlpath, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, + {"tls-version", OPT_TLS_VERSION, + "TLS protocol version for secure connection.", + &opt_tls_version, &opt_tls_version, 0, GET_STR, REQUIRED_ARG, + 0, 0, 0, 0, 0, 0}, + #ifdef MYSQL_CLIENT {"ssl-verify-server-cert", OPT_SSL_VERIFY_SERVER_CERT, "Verify server's \"Common Name\" in its cert against hostname used " |