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

@@ -21,7 +21,7 @@ pub fn main() {
// }
// This adds webpki_roots certs.
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,