Skip to content

Commit

Permalink
Update webpki-roots to 0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
nickelc authored and daniel-abramov committed Dec 5, 2023
1 parent 27b9830 commit ecf7a7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ version = "0.24.1"

[dependencies.webpki-roots]
optional = true
version = "0.25.2"
version = "0.26.0"

[dev-dependencies]
futures-channel = "0.3.28"
Expand Down
6 changes: 3 additions & 3 deletions src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ mod encryption {
root_store.add_trust_anchors(
webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(
ta.subject,
ta.spki,
ta.name_constraints,
ta.subject.as_ref(),
ta.subject_public_key_info.as_ref(),
ta.name_constraints.as_deref(),
)
})
);
Expand Down

0 comments on commit ecf7a7e

Please sign in to comment.