We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6eda06d + 5ae9620 commit 54f353cCopy full SHA for 54f353c
test/net/http/test_https.rb
@@ -143,6 +143,14 @@ def test_session_reuse
143
http.use_ssl = true
144
http.cert_store = TEST_STORE
145
146
+ if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /LibreSSL (\d+\.\d+)/ && $1.to_f > 3.19
147
+ # LibreSSL 3.2 defaults to TLSv1.3 in server and client, which doesn't currently
148
+ # support session resuse. Limiting the version to the TLSv1.2 stack allows
149
+ # this test to continue to work on LibreSSL 3.2+. LibreSSL may eventually
150
+ # support session reuse, but there are no current plans to do so.
151
+ http.ssl_version = :TLSv1
152
+ end
153
+
154
http.start
155
http.get("/")
156
http.finish
0 commit comments