boring icon indicating copy to clipboard operation
boring copied to clipboard

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

Open jyn514 opened this issue 3 years ago • 0 comments

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());

jyn514 avatar Feb 01 '22 16:02 jyn514