Skip to content

Commit

Permalink
Merge pull request #718 from ruby/omit-legacy-provider
Browse files Browse the repository at this point in the history
omit tests related legacy provider
  • Loading branch information
hsbt committed Feb 21, 2024
2 parents 0c17e00 + 948f335 commit 1e8e246
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/openssl/test_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ def test_openssl_provider_name_inspect
end

def test_openssl_provider_names
omit if /freebsd/ =~ RUBY_PLATFORM

with_openssl <<-'end;'
legacy_provider = OpenSSL::Provider.load("legacy")
assert_equal(2, OpenSSL::Provider.provider_names.size)
Expand All @@ -33,6 +35,8 @@ def test_unloaded_openssl_provider
end

def test_openssl_legacy_provider
omit if /freebsd/ =~ RUBY_PLATFORM

with_openssl(<<-'end;')
OpenSSL::Provider.load("legacy")
algo = "RC4"
Expand Down

0 comments on commit 1e8e246

Please sign in to comment.