зеркало из https://github.com/github/ruby.git
[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:
Родитель
dd5e625d7b
Коммит
171791426b
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче