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 308c158 + d5014e3 commit 538aec7Copy full SHA for 538aec7
test/test_ssl.rb
@@ -1340,13 +1340,15 @@ def test_fallback_scsv
1340
ctx2.enable_fallback_scsv
1341
ctx2.max_version = OpenSSL::SSL::TLS1_1_VERSION
1342
s2 = OpenSSL::SSL::SSLSocket.new(sock2, ctx2)
1343
- t = Thread.new { s2.connect }
1344
- assert_raise_with_message(OpenSSL::SSL::SSLError, /inappropriate fallback/) {
1345
- s1.accept
+ t = Thread.new {
+ assert_raise_with_message(OpenSSL::SSL::SSLError, /inappropriate fallback/) {
+ s2.connect
1346
+ }
1347
}
1348
assert_raise_with_message(OpenSSL::SSL::SSLError, /inappropriate fallback/) {
- t.join
1349
+ s1.accept
1350
1351
+ t.join
1352
ensure
1353
sock1.close
1354
sock2.close
0 commit comments