Skip to content

Commit 6b19644

Browse files
[deps]: Update Rust crate rustls-platform-verifier to 0.6.0 (#323)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rustls-platform-verifier](https://redirect.github.com/rustls/rustls-platform-verifier) | dependencies | minor | `0.5.0` -> `0.6.0` | --- ### Configuration 📅 **Schedule**: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bitwarden/sdk-internal). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: addisonbeck <[email protected]>
1 parent c3e3dac commit 6b19644

File tree

4 files changed

+9
-16
lines changed

4 files changed

+9
-16
lines changed

Cargo.lock

Lines changed: 3 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/bitwarden-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ zxcvbn = { version = ">=3.0.1, <4.0", optional = true }
6060
# The only exception is WASM, as it just uses the browsers/node fetch
6161
reqwest = { workspace = true, features = ["rustls-tls-manual-roots"] }
6262
rustls = { version = "0.23.19", default-features = false }
63-
rustls-platform-verifier = "0.5.0"
63+
rustls-platform-verifier = "0.6.0"
6464

6565
[dev-dependencies]
6666
rand_chacha = "0.3.1"

crates/bitwarden-core/src/client/client.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ impl Client {
3535
{
3636
use rustls::ClientConfig;
3737
use rustls_platform_verifier::ConfigVerifierExt;
38-
client_builder =
39-
client_builder.use_preconfigured_tls(ClientConfig::with_platform_verifier());
38+
client_builder = client_builder.use_preconfigured_tls(
39+
ClientConfig::with_platform_verifier()
40+
.expect("Failed to create platform verifier"),
41+
);
4042
}
4143

4244
client_builder

crates/bitwarden-uniffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ android_logger = "0.15"
4141
# The use of rustls-platform-verifier requires some extra support to communicate with the Android platform
4242
jni = ">=0.21, <0.22"
4343
libloading = ">=0.8.1, <0.9"
44-
rustls-platform-verifier = "0.5.0"
44+
rustls-platform-verifier = "0.6.0"
4545

4646
[target.'cfg(target_os = "ios")'.dependencies]
4747
oslog = "0.2.0"

0 commit comments

Comments
 (0)