boring
boring copied to clipboard
FIPS support is broken for 32-bit non-windows platforms
https://github.com/cloudflare/boring/blob/1507689c5b49fa732cbf54f59e998116fab79287/boring-sys/build.rs#L169-L177 needs to instead be
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());