Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows Ruby 3.3: Workaround: Set OPENSSL_MODULES to find providers.
This commit is a workaround to avoid the following test failures by loading legacy provider. ``` 2) Error: test_openssl_legacy_provider(OpenSSL::TestProvider): OpenSSL::Provider::ProviderError: Failed to load legacy provider: (null) (name=legacy) D:/a/ruby-openssl/ruby-openssl/test/openssl/test_provider.rb:62:in `load' D:/a/ruby-openssl/ruby-openssl/test/openssl/test_provider.rb:62:in `<main>' D:/a/ruby-openssl/ruby-openssl/test/openssl/test_provider.rb:61:in `with_openssl' D:/a/ruby-openssl/ruby-openssl/test/openssl/test_provider.rb:36:in `test_openssl_legacy_provider' 33: end 34: 35: def test_openssl_legacy_provider => 36: with_openssl(<<-'end;') 37: OpenSSL::Provider.load("legacy") 38: algo = "RC4" 39: data = "a" * 1000 ```
- Loading branch information