Skip to content
This repository was archived by the owner on Jan 25, 2025. It is now read-only.

Commit 747b095

Browse files
committed
Removed deprecations
1 parent 04bd0d1 commit 747b095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zia-common/src/stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use url::Url;
1616

1717
static TLS_CONNECTOR: Lazy<TlsConnector> = Lazy::new(|| {
1818
let mut store = RootCertStore::empty();
19-
store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
19+
store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
2020
OwnedTrustAnchor::from_subject_spki_name_constraints(ta.subject, ta.spki, ta.name_constraints)
2121
}));
2222

0 commit comments

Comments
 (0)