Skip to content

Commit

Permalink
[ruby/openssl] Revert "omit tests related legacy provider"
Browse files Browse the repository at this point in the history
This reverts commit ruby/openssl@9b7543d58869.

The case not providing the legacy provider can happen not only in FreeBSD but
also in other platforms. The fix is addressed in the next commit.

ruby/openssl@8c26fc26a1
  • Loading branch information
junaruga authored and matzbot committed Mar 13, 2024
1 parent dd5e625 commit 1717914
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/openssl/test_provider.rb
Expand Up @@ -12,8 +12,6 @@ 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 @@ -35,8 +33,6 @@ 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 1717914

Please sign in to comment.