mirror of
https://github.com/ntex-rs/ntex-extras.git
synced 2025-04-07 06:47:40 +03:00
Fix rustls build. (#1195)
This commit is contained in:
parent
91b3fcf85c
commit
4921243add
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ impl Connector<(), ()> {
|
|||
let mut config = ClientConfig::new();
|
||||
config.set_protocols(&protos);
|
||||
config.root_store.add_server_trust_anchors(
|
||||
&actix_connect::ssl::rustls::TLS_SERVER_ROOTS,
|
||||
&actix_tls::rustls::TLS_SERVER_ROOTS,
|
||||
);
|
||||
SslConnector::Rustls(Arc::new(config))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue