You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Building from source with fips enabled using --with-ssl=[OpenSSL 3.x dir] on macos fails at Checking for FIPS_mode_set()... no
An identical build on Linux completes successfully (Checking for FIPS_mode_set()... yes) which is confusing, as it seems FIPS_mode_set doesn't actually exist in OpenSSL 3.x.
To Reproduce
mkdir /tmp/erlang-test
cd /tmp/erlang-test
git clone https://github.com/openssl/openssl
pushd openssl
./Configure enable-fips --prefix=/tmp/erlang-test/openssl-3.x
make && make install
popd
git clone https://github.com/erlang/otp
pushd otp
./configure --enable-fips --with-ssl=/tmp/erlang-test/openssl-3.x
Expected behavior
I would expect to see an OpenSSL 3.x friendly check, rather than a FIPS_mode_set() check which seems to only be valid when using OpenSSL 1.x.
As the FIPS_mode_set check is there however, I also expect current Linux builds --with-ssling OpenSSL 3.x to fail, which does not match my experience.
Affected versions
I encountered this while attempting to build 26.2 with FIPS enabled, but it looks like anything newer is the same. I'm not sure which older versions this behaviour is present in.
The text was updated successfully, but these errors were encountered:
Describe the bug
Building from source with fips enabled using
--with-ssl=[OpenSSL 3.x dir]
on macos fails atChecking for FIPS_mode_set()... no
An identical build on Linux completes successfully (
Checking for FIPS_mode_set()... yes
) which is confusing, as it seems FIPS_mode_set doesn't actually exist in OpenSSL 3.x.To Reproduce
Expected behavior
I would expect to see an OpenSSL 3.x friendly check, rather than a
FIPS_mode_set()
check which seems to only be valid when using OpenSSL 1.x.As the FIPS_mode_set check is there however, I also expect current Linux builds
--with-ssl
ing OpenSSL 3.x to fail, which does not match my experience.Affected versions
I encountered this while attempting to build 26.2 with FIPS enabled, but it looks like anything newer is the same. I'm not sure which older versions this behaviour is present in.
The text was updated successfully, but these errors were encountered: