[ruby/openssl] Revert "omit tests related legacy provider"

This reverts commit https://github.com/ruby/openssl/commit/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.

https://github.com/ruby/openssl/commit/8c26fc26a1
This commit is contained in:
Jun Aruga 2024-02-21 10:37:53 +01:00 коммит произвёл git
Родитель dd5e625d7b
Коммит 171791426b
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -12,8 +12,6 @@ class OpenSSL::TestProvider < OpenSSL::TestCase
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)
@ -35,8 +33,6 @@ class OpenSSL::TestProvider < OpenSSL::TestCase
end
def test_openssl_legacy_provider
omit if /freebsd/ =~ RUBY_PLATFORM
with_openssl(<<-'end;')
OpenSSL::Provider.load("legacy")
algo = "RC4"