We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb44f3 commit bbfb68eCopy full SHA for bbfb68e
2 files changed
ext/openssl/ossl_ssl.c
@@ -1614,6 +1614,8 @@ peeraddr_ip_str(VALUE io)
1614
static int
1615
is_real_socket(VALUE io)
1616
{
1617
+ // FIXME: DO NOT MERGE
1618
+ return 0;
1619
return RB_TYPE_P(io, T_FILE);
1620
}
1621
test/openssl/test_ssl.rb
@@ -1631,7 +1631,12 @@ def test_options_disable_versions
1631
# Client only supports TLS 1.3
1632
ctx2 = OpenSSL::SSL::SSLContext.new
1633
ctx2.min_version = ctx2.max_version = OpenSSL::SSL::TLS1_3_VERSION
1634
- assert_nothing_raised { server_connect(port, ctx2) { } }
+ assert_nothing_raised {
1635
+ server_connect(port, ctx2) { |ssl|
1636
+ # Ensure SSL_accept() finishes successfully
1637
+ ssl.puts("abc"); ssl.gets
1638
+ }
1639
1640
1641
1642
# Server only supports TLS 1.2
0 commit comments