From 425654a18ec05a74c4110beca4e80e637f5bdd50 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Sat, 7 Dec 2019 10:48:45 +0100 Subject: [PATCH] Fix rustls build. --- actix-http/src/client/connector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/client/connector.rs b/actix-http/src/client/connector.rs index 2710252e3..02e9df7d1 100644 --- a/actix-http/src/client/connector.rs +++ b/actix-http/src/client/connector.rs @@ -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)) }