cloudflare / cloudflare/boring

FIPS support is broken for 32-bit non-windows platforms

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
522
Forks
171
PR merge metrics
No merged PRs in 30d

Description

https://github.com/cloudflare/boring/blob/1507689c5b49fa732cbf54f59e998116fab79287/boring-sys/build.rs#L169-L177
needs to instead be
```rust
let toolchain_file = if cfg!(feature = "fips") {
format!("{}/util/32-bit-toolchain.cmake", BORING_SSL_DIR)
} else {
format!("{}/src/util/32-bit-toolchain.cmake", BORING_SSL_DIR)
};

boringssl_cmake
.define("CMAKE_TOOLCHAIN_FILE", pwd.join(toolchain_file).as_os_str());
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.