1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-20 16:41:05 +00:00

Fix rustls build. (#1195)

This commit is contained in:
daxpedda 2019-12-07 11:14:09 +01:00 committed by Nikolay Kim
parent 91b3fcf85c
commit 4921243add

View file

@ -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))
}