Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto: Remove incorrect configure check for FIPS_mode_set #8277

Merged
merged 1 commit into from Mar 25, 2024

Conversation

sverker
Copy link
Contributor

@sverker sverker commented Mar 18, 2024

Fix #8271

  • FIPS_mode_set does not exists since OpenSSL 3.x

  • The configure check with AC_CHECK_FUNC for FIPS_mode_set succeeds anyway on Linux as compiler accepts implicit declaration (with only a warning) and linker accepts undefined symbols as we build a shared lib.

  • Checking for FIPS_mode_set was pointless as it was available even for non-fips builds of OpenSSL 1.x

On MacOS however, the check "works" and thereby hinders building Erlang/OTP with --enabled-fips for OpenSSL 3.x.

@sverker sverker self-assigned this Mar 18, 2024
Copy link
Contributor

github-actions bot commented Mar 18, 2024

CT Test Results

  2 files   14 suites   6m 19s ⏱️
188 tests 173 ✅  15 💤 0 ❌
482 runs  318 ✅ 164 💤 0 ❌

Results for commit 41bcb7f.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

* FIPS_mode_set does not exists since OpenSSL 3.x

* The AC_CHECK_FUNC for FIPS_mode_set succeeds anyway on Linux
  as compiler accepts implicit declaration (with only a warning)
  and linker accepts undefined symbols as we build a shared lib.


On MacOS however, the check "works" and thereby hinders building
Erlang/OTP with --enabled-fips for OpenSSL 3.x.
@sverker sverker force-pushed the sverker/crypto/fips-config-mac branch from e0d2d35 to 41bcb7f Compare March 21, 2024 18:28
@sverker sverker merged commit 0378efa into erlang:maint Mar 25, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant