aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/utils.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-13 03:05:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-13 03:05:43 +0000
commitaf06381332c9344fc3c400cf7365bd6cc4a9cc00 (patch)
treed6b935203812b5fcbc51a635be13bcc520d6011c /test/openssl/utils.rb
parent88cea9f7e2e7c9e2968dcc3d9b4df069e76df76a (diff)
downloadruby-af06381332c9344fc3c400cf7365bd6cc4a9cc00.tar.gz
test/openssl: skip old OpenSSL
* test/openssl/utils.rb (OpenSSL::TestUtils): ignore out-of-date OpenSSL before 1.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/utils.rb')
-rw-r--r--test/openssl/utils.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb
index 84cd48dbc1..1da3bcf979 100644
--- a/test/openssl/utils.rb
+++ b/test/openssl/utils.rb
@@ -327,4 +327,5 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOPeVkJ8ePao0eLAgEC
end
end
-end if defined?(OpenSSL)
+end if defined?(OpenSSL::OPENSSL_LIBRARY_VERSION) and
+ /\AOpenSSL +0\./ !~ OpenSSL::OPENSSL_LIBRARY_VERSION