Skip to content

Commit

Permalink
omit tests related legacy provider
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Feb 7, 2024
1 parent 9569999 commit 9b7543d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/openssl/test_provider.rb
Expand Up @@ -11,7 +11,9 @@ def test_openssl_provider_name_inspect
end;
end

def test_openssl_provider_names
def test_openssl_provider_name
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 9b7543d

Please sign in to comment.