File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1560,6 +1560,8 @@ peeraddr_ip_str(VALUE self)
15601560static int
15611561is_real_socket (VALUE io )
15621562{
1563+ // FIXME: DO NOT MERGE
1564+ return 0 ;
15631565 return RB_TYPE_P (io , T_FILE );
15641566}
15651567
Original file line number Diff line number Diff line change @@ -1611,7 +1611,12 @@ def test_options_disable_versions
16111611 # Client only supports TLS 1.3
16121612 ctx2 = OpenSSL ::SSL ::SSLContext . new
16131613 ctx2 . min_version = ctx2 . max_version = OpenSSL ::SSL ::TLS1_3_VERSION
1614- assert_nothing_raised { server_connect ( port , ctx2 ) { } }
1614+ assert_nothing_raised {
1615+ server_connect ( port , ctx2 ) { |ssl |
1616+ # Ensure SSL_accept() finishes successfully
1617+ ssl . puts ( "abc" ) ; ssl . gets
1618+ }
1619+ }
16151620 }
16161621
16171622 # Server only supports TLS 1.2
You can’t perform that action at this time.
0 commit comments