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
alexheretic authored and daniel-abramov committed Dec 2, 2023
1 parent 0f6e651 commit 866ce20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Unreleased (0.20.2)
- Improve `FrameHeader::format` write correctness.
- Up minimum _rustls_ to `0.21.6`.
- Update _webpki-roots_ to `0.26`.

# 0.20.1
- Fixes [CVE-2023-43669](https://github.com/snapview/tungstenite-rs/pull/379).
Expand Down
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.25"
version = "0.26"

[dev-dependencies]
criterion = "0.5.0"
Expand Down
6 changes: 3 additions & 3 deletions src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,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 866ce20

Please sign in to comment.