deps: bump webpki-roots from 0.24.0 to 0.25.1

Pull-Request: #4272.
This commit is contained in:
dependabot[bot] 2023-07-31 10:41:14 +00:00 committed by GitHub
parent d566f45ae2
commit 856d85f9b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 8 deletions

9
Cargo.lock generated
View File

@ -3329,7 +3329,7 @@ dependencies = [
"rw-stream-sink", "rw-stream-sink",
"soketto", "soketto",
"url", "url",
"webpki-roots 0.24.0", "webpki-roots 0.25.1",
] ]
[[package]] [[package]]
@ -6252,12 +6252,9 @@ dependencies = [
[[package]] [[package]]
name = "webpki-roots" name = "webpki-roots"
version = "0.24.0" version = "0.25.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b291546d5d9d1eab74f069c77749f2cb8504a12caa20f0f2de93ddbf6f411888" checksum = "c9c6eda1c830a36f361e7721c87fd79ea84293b54f8c48c959f85ec636f0f196"
dependencies = [
"rustls-webpki",
]
[[package]] [[package]]
name = "webrtc" name = "webrtc"

View File

@ -22,7 +22,7 @@ quicksink = "0.1"
rw-stream-sink = { workspace = true } rw-stream-sink = { workspace = true }
soketto = "0.7.0" soketto = "0.7.0"
url = "2.1" url = "2.1"
webpki-roots = "0.24" webpki-roots = "0.25"
[dev-dependencies] [dev-dependencies]
libp2p-tcp = { workspace = true, features = ["async-io"] } libp2p-tcp = { workspace = true, features = ["async-io"] }

View File

@ -92,7 +92,7 @@ impl Config {
/// Setup the rustls client configuration. /// Setup the rustls client configuration.
fn client_root_store() -> rustls::RootCertStore { fn client_root_store() -> rustls::RootCertStore {
let mut client_root_store = rustls::RootCertStore::empty(); 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( rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(
ta.subject, ta.subject,
ta.spki, ta.spki,