[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:
parent
dd5e625d7b
commit
171791426b
@ -12,8 +12,6 @@ class OpenSSL::TestProvider < OpenSSL::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_openssl_provider_names
|
def test_openssl_provider_names
|
||||||
omit if /freebsd/ =~ RUBY_PLATFORM
|
|
||||||
|
|
||||||
with_openssl <<-'end;'
|
with_openssl <<-'end;'
|
||||||
legacy_provider = OpenSSL::Provider.load("legacy")
|
legacy_provider = OpenSSL::Provider.load("legacy")
|
||||||
assert_equal(2, OpenSSL::Provider.provider_names.size)
|
assert_equal(2, OpenSSL::Provider.provider_names.size)
|
||||||
@ -35,8 +33,6 @@ class OpenSSL::TestProvider < OpenSSL::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_openssl_legacy_provider
|
def test_openssl_legacy_provider
|
||||||
omit if /freebsd/ =~ RUBY_PLATFORM
|
|
||||||
|
|
||||||
with_openssl(<<-'end;')
|
with_openssl(<<-'end;')
|
||||||
OpenSSL::Provider.load("legacy")
|
OpenSSL::Provider.load("legacy")
|
||||||
algo = "RC4"
|
algo = "RC4"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user