summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 5f5925d..18eeca9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -97,9 +97,7 @@ end
# We need to enable the OpenSSL 3.0 legacy providers for our test suite
require 'openssl'
-if OpenSSL::OPENSSL_LIBRARY_VERSION.start_with? "OpenSSL 3" then
- ENV['OPENSSL_CONF'] = 'test/openssl3.conf'
-end
+ENV['OPENSSL_CONF'] = 'test/openssl3.conf' if OpenSSL::OPENSSL_LIBRARY_VERSION.start_with? "OpenSSL 3"
desc "Run tests of Net::SSH:Test"
Rake::TestTask.new do |t|