Update webpki-roots to 0.26
This commit is contained in:
parent
0f6e6517e6
commit
866ce20dbe
|
@ -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).
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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(),
|
||||
)
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue