We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49bc338 commit 5b27276Copy full SHA for 5b27276
1 file changed
src/test/ruby/ssl/test_session.rb
@@ -7,7 +7,7 @@ class TestSSLSession < TestCase
7
def test_session
8
start_server0(PORT, OpenSSL::SSL::VERIFY_NONE, true) do |server, port|
9
sock = TCPSocket.new("127.0.0.1", port)
10
- ctx = OpenSSL::SSL::SSLContext.new("TLSv1")
+ ctx = OpenSSL::SSL::SSLContext.new("TLSv1_2")
11
ssl = OpenSSL::SSL::SSLSocket.new(sock, ctx)
12
ssl.sync_close = true
13
ssl.connect
0 commit comments