Skip to content

Commit 5b27276

Browse files
committed
[test] use TLS that isn't disabled on Java
1 parent 49bc338 commit 5b27276

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/ruby/ssl/test_session.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class TestSSLSession < TestCase
77
def test_session
88
start_server0(PORT, OpenSSL::SSL::VERIFY_NONE, true) do |server, port|
99
sock = TCPSocket.new("127.0.0.1", port)
10-
ctx = OpenSSL::SSL::SSLContext.new("TLSv1")
10+
ctx = OpenSSL::SSL::SSLContext.new("TLSv1_2")
1111
ssl = OpenSSL::SSL::SSLSocket.new(sock, ctx)
1212
ssl.sync_close = true
1313
ssl.connect

0 commit comments

Comments
 (0)