Skip to content

Commit

Permalink
deps: bump webpki-roots from 0.24.0 to 0.25.1
Browse files Browse the repository at this point in the history
Pull-Request: #4272.
  • Loading branch information
dependabot[bot] authored Jul 31, 2023
1 parent d566f45 commit 856d85f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion transports/websocket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ quicksink = "0.1"
rw-stream-sink = { workspace = true }
soketto = "0.7.0"
url = "2.1"
webpki-roots = "0.24"
webpki-roots = "0.25"

[dev-dependencies]
libp2p-tcp = { workspace = true, features = ["async-io"] }
Expand Down
2 changes: 1 addition & 1 deletion transports/websocket/src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl Config {
/// Setup the rustls client configuration.
fn client_root_store() -> rustls::RootCertStore {
let mut client_root_store = rustls::RootCertStore::empty();
client_root_store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
client_root_store.add_server_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 856d85f

Please sign in to comment.