From af4ed7753c5466346263cc5cd3a844e0eb81dcef Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Tue, 19 Sep 2023 19:19:27 +0200 Subject: [PATCH] Fix test_pkey_ec.rb on FIPS. --- Rakefile | 1 + test/openssl/test_pkey_ec.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Rakefile b/Rakefile index 322f98330..c673a8bc1 100644 --- a/Rakefile +++ b/Rakefile @@ -29,6 +29,7 @@ Rake::TestTask.new(:test_fips_internal) do |t| t.test_files = FileList[ 'test/openssl/test_fips.rb', 'test/openssl/test_pkey.rb', + 'test/openssl/test_pkey_ec.rb', ] t.warning = true end diff --git a/test/openssl/test_pkey_ec.rb b/test/openssl/test_pkey_ec.rb index 126c1347c..2cb8e287a 100644 --- a/test/openssl/test_pkey_ec.rb +++ b/test/openssl/test_pkey_ec.rb @@ -229,6 +229,8 @@ def test_ECPrivateKey_with_parameters end def test_ECPrivateKey_encrypted + omit_on_fips + p256 = Fixtures.pkey("p256") # key = abcdef pem = <<~EOF