Skip to content

Commit

Permalink
test: fix for Windows TLS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Aug 14, 2024
1 parent 4be1e09 commit ecf20a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bitwarden-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ reqwest = { version = ">=0.12.5, <0.13", features = [
], default-features = false }
rustls-platform-verifier = "0.3.1"

[target.'cfg(all(not(target_os = "windows")))'.profile.release]
lto = false

[target.'cfg(target_os = "android")'.dependencies]
# On android, the use of rustls-platform-verifier is more complicated and going through some changes at the moment, so we fall back to using webpki-roots
# This means that for the moment android won't support self-signed certificates, even if they are included in the OS trust store
Expand Down

0 comments on commit ecf20a2

Please sign in to comment.