Skip to content

Commit 25377c3

Browse files
committed
Fix build for webpki/webpki-roots changes
1 parent f257129 commit 25377c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ impl HttpsConnector {
2626
let mut http = HttpConnector::new(threads, handle);
2727
http.enforce_http(false);
2828
let mut config = ClientConfig::new();
29-
config.root_store.add_trust_anchors(&webpki_roots::ROOTS);
29+
config.root_store.add_server_trust_anchors(&webpki_roots::TLS_SERVER_ROOTS);
3030
config.ct_logs = Some(&ct_logs::LOGS);
3131
HttpsConnector { http: http, tls_config: Arc::new(config) }
3232
}

0 commit comments

Comments
 (0)