diff --git a/zingo-netutils/Cargo.toml b/zingo-netutils/Cargo.toml index 1160e88c1..16617a0ca 100644 --- a/zingo-netutils/Cargo.toml +++ b/zingo-netutils/Cargo.toml @@ -17,7 +17,7 @@ thiserror.workspace = true tokio-rustls.workspace = true tonic.workspace = true tower.workspace = true -webpki-roots = "0.21.0" +webpki-roots = "0.25" zcash_client_backend.workspace = true [features] diff --git a/zingo-netutils/src/lib.rs b/zingo-netutils/src/lib.rs index 09b0b3ecb..557454213 100644 --- a/zingo-netutils/src/lib.rs +++ b/zingo-netutils/src/lib.rs @@ -95,7 +95,7 @@ impl GrpcConnector { if uri.scheme_str() == Some("https") { let mut root_store = RootCertStore::empty(); //webpki uses a different struct for TrustAnchor - root_store.extend(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|anchor_ref| { + root_store.extend(webpki_roots::TLS_SERVER_ROOTS.iter().map(|anchor_ref| { TrustAnchor { subject: Der::from_slice(anchor_ref.subject), subject_public_key_info: Der::from_slice(anchor_ref.spki),