Skip to content

Commit 013db02

Browse files
committed
provider: load "default" provider in test_openssl_legacy_provider
Update the test case to explicitly load both the "default" and the "legacy" providers. Currently, the "default" provider as a side effect by the OpenSSL::PKey::DH.new call in lib/openssl/ssl.rb. It will be cleaned up in a following patch.
1 parent 4aeef6f commit 013db02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/openssl/test_provider.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def test_openssl_legacy_provider
4646

4747
with_openssl(<<-'end;')
4848
begin
49+
OpenSSL::Provider.load("default")
4950
OpenSSL::Provider.load("legacy")
5051
rescue OpenSSL::Provider::ProviderError
5152
omit "Only for OpenSSL with legacy provider"

0 commit comments

Comments
 (0)