Update deps

This commit is contained in:
Martin Algesten
2023-08-11 09:14:03 +02:00
parent 37b5f4721f
commit 50fd1fe14e
5 changed files with 9 additions and 9 deletions

View File

@@ -99,7 +99,7 @@ fn root_certs() -> rustls::RootCertStore {
#[cfg(not(feature = "native-certs"))]
fn root_certs() -> rustls::RootCertStore {
let mut root_store = rustls::RootCertStore::empty();
root_store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
root_store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(
ta.subject,
ta.spki,