File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
sqlx-mysql/src/connection
sqlx-postgres/src/connection Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ pub(super) async fn maybe_upgrade<S: Socket>(
6464 accept_invalid_hostnames : !matches ! ( options. ssl_mode, MySqlSslMode :: VerifyIdentity ) ,
6565 hostname : & options. host ,
6666 root_cert_path : options. ssl_ca . as_ref ( ) ,
67+ client_cert_path : options. ssl_client_cert . as_ref ( ) ,
68+ client_key_path : options. ssl_client_key . as_ref ( ) ,
6769 } ;
6870
6971 // Request TLS upgrade
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ async fn maybe_upgrade<S: Socket>(
5858 accept_invalid_hostnames,
5959 hostname : & options. host ,
6060 root_cert_path : options. ssl_root_cert . as_ref ( ) ,
61+ client_cert_path : options. ssl_client_cert . as_ref ( ) ,
62+ client_key_path : options. ssl_client_key . as_ref ( ) ,
6163 } ;
6264
6365 tls:: handshake ( socket, config, SocketIntoBox ) . await
You can’t perform that action at this time.
0 commit comments