We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d725783 + fd3e3e7 commit 02d6882Copy full SHA for 02d6882
test/openssl/test_fips.rb
@@ -37,7 +37,10 @@ def test_fips_mode_is_reentrant
37
end
38
39
def test_fips_mode_get_with_fips_mode_set
40
- omit('OpenSSL is not FIPS-capable') unless OpenSSL::OPENSSL_FIPS and !aws_lc? # AWS-LC's FIPS mode is decided at compile time.
+ return if aws_lc? # AWS-LC's FIPS mode is decided at compile time.
41
+ unless ENV["TEST_RUBY_OPENSSL_FIPS_ENABLED"]
42
+ omit "Only for FIPS mode environment"
43
+ end
44
45
assert_separately(["-ropenssl"], <<~"end;")
46
begin
0 commit comments