diff options
author | naruse <naruse@ruby-lang.org> | 2012-05-21 14:03:18 +0000 |
---|---|---|
committer | naruse <naruse@ruby-lang.org> | 2012-05-21 14:03:18 +0000 |
commit | 978e4caa6afc5323c72199622bd77b5309e25d87 (patch) | |
tree | 514a1a4bb97f9d05f0f03cac7c3f6cc666909fbf /test | |
parent | bf4a63153440cf5e0b043969d68463f08bff2122 (diff) | |
download | ruby-openssl-history-978e4caa6afc5323c72199622bd77b5309e25d87.tar.gz |
OpenSSL 1.0.1 pre-beta disabled TLS v1.2 by default.
http://cvs.openssl.org/chngview?cn=21471
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ssl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ssl.rb b/test/test_ssl.rb index c6e7767..5fff78f 100644 --- a/test/test_ssl.rb +++ b/test/test_ssl.rb @@ -462,7 +462,7 @@ if OpenSSL::SSL::SSLContext::METHODS.include? :TLSv1_2 start_server_version(:TLSv1_2) { |server, port| server_connect(port) { |ssl| assert_equal("TLSv1.2", ssl.ssl_version) } } - end + end if OpenSSL::OPENSSL_VERSION_NUMBER > 0x10001000 def test_forbid_tls_v1_1_for_client ctx_proc = Proc.new { |ctx| ctx.options = OpenSSL::SSL::OP_ALL | OpenSSL::SSL::OP_NO_TLSv1_1 } |