diff options
author | Jeremy Evans <[email protected]> | 2023-10-16 12:58:55 -0700 |
---|---|---|
committer | git <[email protected]> | 2023-10-16 20:23:50 +0000 |
commit | 3dec5dc3462286cdbdb53e496e6175a82bdc39b7 () | |
tree | b87268d69f3fc2e7d836236b89f5a7e310cfbc22 /test/net | |
parent | 10d88ec9c3bbc93b83b2ea5e93cb781fbf42f0be (diff) |
[ruby/net-http] Force TLS version to 1.2 when using LibreSSL
This comment previously specified TLS 1.2, but actually set the version to TLS 1.0. LibreSSL 3.8.1 (included in OpenBSD 7.4) dropped support for TLS 1.0/1.1 for security reasons, which broke this test. Switch the test to use TLS 1.2 as documented so it will continue to work on OpenBSD 7.4+. https://.com/ruby/net-http/commit/97be4de53a
-rw-r--r-- | test/net/http/test_https.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ class TestNetHTTPS < Test::Unit::TestCase # support session resuse. Limiting the version to the TLSv1.2 stack allows # this test to continue to work on LibreSSL 3.2+. LibreSSL may eventually # support session reuse, but there are no current plans to do so. - http.ssl_version = :TLSv1 end http.start |