File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ tokio-native-tls = { version = "0.3.0", optional = true }
119
119
120
120
# rustls-tls
121
121
hyper-rustls = { version = " 0.24.0" , default-features = false , optional = true }
122
- rustls = { version = " 0.21.0 " , features = [" dangerous_configuration" ], optional = true }
122
+ rustls = { version = " 0.21.6 " , features = [" dangerous_configuration" ], optional = true }
123
123
tokio-rustls = { version = " 0.24" , optional = true }
124
124
webpki-roots = { version = " 0.25" , optional = true }
125
125
rustls-native-certs = { version = " 0.6" , optional = true }
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ impl Identity {
307
307
) -> crate :: Result < rustls:: ClientConfig > {
308
308
match self . inner {
309
309
ClientCert :: Pem { key, certs } => config_builder
310
- . with_single_cert ( certs, key)
310
+ . with_client_auth_cert ( certs, key)
311
311
. map_err ( crate :: error:: builder) ,
312
312
#[ cfg( feature = "native-tls" ) ]
313
313
ClientCert :: Pkcs12 ( ..) | ClientCert :: Pkcs8 ( ..) => {
You can’t perform that action at this time.
0 commit comments