From 4921243adda22d6217fd26e1a608b44a308abb7b Mon Sep 17 00:00:00 2001 From: daxpedda Date: Sat, 7 Dec 2019 11:14:09 +0100 Subject: [PATCH] Fix rustls build. (#1195) --- 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)) }