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 sdroege committed Dec 7, 2023
1 parent c25abd8 commit b55f84a
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 @@ -93,7 +93,7 @@ version = "0.6"

[dependencies.webpki-roots]
optional = true
version = "0.25"
version = "0.26"

[dependencies.gio]
optional = true
Expand Down
6 changes: 3 additions & 3 deletions src/tokio/rustls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ where
root_store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(
|ta| {
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 b55f84a

Please sign in to comment.