From 4659bcc5be11fc3ac18555a33e09057595dd2914 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Jul 2023 12:14:31 +0000 Subject: [PATCH 1/2] chore(deps): update webpki-roots requirement from 0.24 to 0.25 Updates the requirements on [webpki-roots](https://github.com/rustls/webpki-roots) to permit the latest version. - [Commits](https://github.com/rustls/webpki-roots/commits) --- updated-dependencies: - dependency-name: webpki-roots dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- client/transport/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/transport/Cargo.toml b/client/transport/Cargo.toml index 4040f8545c..822152ae2c 100644 --- a/client/transport/Cargo.toml +++ b/client/transport/Cargo.toml @@ -28,7 +28,7 @@ pin-project = { version = "1", optional = true } # tls rustls-native-certs = { version = "0.6", optional = true } -webpki-roots = { version = "0.24", optional = true } +webpki-roots = { version = "0.25", optional = true } tokio-rustls = { version = "0.24", optional = true } # ws From d5712aeee4c418a024bc3b3949c92d12ad50bc35 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Mon, 31 Jul 2023 09:43:09 +0200 Subject: [PATCH 2/2] fix build --- client/transport/src/ws/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/transport/src/ws/mod.rs b/client/transport/src/ws/mod.rs index 23dd44b9a1..185884587a 100644 --- a/client/transport/src/ws/mod.rs +++ b/client/transport/src/ws/mod.rs @@ -549,7 +549,7 @@ fn build_tls_config(cert_store: &CertificateStore) -> Result { - roots.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| { + roots.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| { rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(ta.subject, ta.spki, ta.name_constraints) })); }