mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-10 09:57:14 +00:00
parent
d566f45ae2
commit
856d85f9b6
9
Cargo.lock
generated
9
Cargo.lock
generated
@ -3329,7 +3329,7 @@ dependencies = [
|
||||
"rw-stream-sink",
|
||||
"soketto",
|
||||
"url",
|
||||
"webpki-roots 0.24.0",
|
||||
"webpki-roots 0.25.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -6252,12 +6252,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "webpki-roots"
|
||||
version = "0.24.0"
|
||||
version = "0.25.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b291546d5d9d1eab74f069c77749f2cb8504a12caa20f0f2de93ddbf6f411888"
|
||||
dependencies = [
|
||||
"rustls-webpki",
|
||||
]
|
||||
checksum = "c9c6eda1c830a36f361e7721c87fd79ea84293b54f8c48c959f85ec636f0f196"
|
||||
|
||||
[[package]]
|
||||
name = "webrtc"
|
||||
|
@ -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"] }
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user