Skip to content

Commit

Permalink
Enable rustls_native_certs::load_native_certs on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l authored and djc committed Jun 26, 2024
1 parent 485ac64 commit 8da52f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rustls-platform-verifier/src/verification/others.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,14 @@ impl Verifier {
);
}

#[cfg(all(target_os = "linux", not(target_arch = "wasm32")))]
#[cfg(all(
unix,
not(target_os = "android"),
not(target_os = "macos"),
not(target_os = "ios"),
not(target_os = "tvos"),
not(target_arch = "wasm32"),
))]
match rustls_native_certs::load_native_certs() {
Ok(certs) => {
let (added, ignored) = root_store.add_parsable_certificates(certs);
Expand Down

0 comments on commit 8da52f1

Please sign in to comment.