Skip to content

Commit d07183f

Browse files
committed
Fix test_pkey_ec.rb on FIPS.
1 parent 4d64c38 commit d07183f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Rake::TestTask.new(:test_fips_internal) do |t|
2929
t.test_files = FileList[
3030
'test/openssl/test_fips.rb',
3131
'test/openssl/test_pkey.rb',
32+
'test/openssl/test_pkey_ec.rb',
3233
]
3334
t.warning = true
3435
end

test/openssl/test_pkey_ec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ def test_ECPrivateKey_with_parameters
229229
end
230230

231231
def test_ECPrivateKey_encrypted
232+
omit_on_fips
233+
232234
p256 = Fixtures.pkey("p256")
233235
# key = abcdef
234236
pem = <<~EOF

0 commit comments

Comments
 (0)