Skip to content

Commit

Permalink
Merge pull request #385 from nickelc/deps/webpki-roots
Browse files Browse the repository at this point in the history
Update `webpki-roots` to 0.25
  • Loading branch information
agalakhov authored Nov 15, 2023
2 parents 272d83c + 6c61d54 commit a6cbed7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ version = "0.6.0"

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

[dev-dependencies]
criterion = "0.5.0"
Expand Down
4 changes: 2 additions & 2 deletions src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ mod encryption {
}
#[cfg(feature = "rustls-tls-webpki-roots")]
{
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,
Expand Down

0 comments on commit a6cbed7

Please sign in to comment.