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
This commit only fixes the issue that the `OpenSSL.fips_mode` returns `false`
on OpenSSL 3 FIPS mode enabled environment, while other tests fail on the
environment. I believe that this minimal fix is a good start to make Ruby OpenSSL work on
the OpenSSL 3 FIPS mode enabled environment with the CI case.
It seems that the `OPENSSL_FIPS` macro is not used on the FIPS mode case any
more on OpenSSL 3. The API `FIPS_mode` also was removed in OpenSSL 3.
See the document <https://github.com/openssl/openssl/blob/master/doc/man7/migration_guide.pod#removed-fips_mode-and-fips_mode_set>
the section OPENSSL 3.0 > Main Changes from OpenSSL 1.1.1 >
Other notable deprecations and changes - Removed FIPS_mode() and FIPS_mode_set() .
The `TEST_RUBY_OPENSSL_FIPS_ENABLED` is set on the FIPS mode case on the CI.
Because I want to test that the `OpenSSL.fips_mode` returning the `true` or
'false' in the CI. Right now we don't find a reliable way to get the capability
of OpenSSL 3 for the FIPS mode.
0 commit comments