We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6651f8c commit a72e513Copy full SHA for a72e513
test/openssl/test_pkey_dh.rb
@@ -18,16 +18,16 @@ def test_new_generate
18
assert_key(dh)
19
end if ENV["OSSL_TEST_ALL"]
20
21
- def test_new_break_on_non_fips
22
- omit_on_fips if !aws_lc?
+ def test_new_break_on_non_fips_or_aws_lc
+ omit_on_fips unless aws_lc?
23
24
assert_nil(OpenSSL::PKey::DH.new(NEW_KEYLEN) { break })
25
assert_raise(RuntimeError) do
26
OpenSSL::PKey::DH.new(NEW_KEYLEN) { raise }
27
end
28
29
30
- def test_new_break_on_fips
+ def test_new_break_on_openssl_fips
31
omit_on_non_fips
32
return unless openssl? # This behavior only applies to OpenSSL.
33
0 commit comments