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 @@ -1606,7 +1606,12 @@ def test_options_disable_versions
16061606 # Client only supports TLS 1.3
16071607 ctx2 = OpenSSL ::SSL ::SSLContext . new
16081608 ctx2 . min_version = ctx2 . max_version = OpenSSL ::SSL ::TLS1_3_VERSION
1609- assert_nothing_raised { server_connect ( port , ctx2 ) { } }
1609+ assert_nothing_raised {
1610+ server_connect ( port , ctx2 ) { |ssl |
1611+ # Ensure SSL_accept() finishes successfully
1612+ ssl . puts ( "abc" ) ; ssl . gets
1613+ }
1614+ }
16101615 }
16111616
16121617 # Server only supports TLS 1.2
You can’t perform that action at this time.
0 commit comments