We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2acbebf commit de20e7dCopy full SHA for de20e7d
2 files changed
ext/openssl/ossl_ssl.c
@@ -1560,6 +1560,8 @@ peeraddr_ip_str(VALUE self)
1560
static int
1561
is_real_socket(VALUE io)
1562
{
1563
+ // FIXME: DO NOT MERGE
1564
+ return 0;
1565
return RB_TYPE_P(io, T_FILE);
1566
}
1567
test/openssl/test_ssl.rb
@@ -1611,7 +1611,12 @@ def test_options_disable_versions
1611
# Client only supports TLS 1.3
1612
ctx2 = OpenSSL::SSL::SSLContext.new
1613
ctx2.min_version = ctx2.max_version = OpenSSL::SSL::TLS1_3_VERSION
1614
- assert_nothing_raised { server_connect(port, ctx2) { } }
+ assert_nothing_raised {
1615
+ server_connect(port, ctx2) { |ssl|
1616
+ # Ensure SSL_accept() finishes successfully
1617
+ ssl.puts("abc"); ssl.gets
1618
+ }
1619
1620
1621
1622
# Server only supports TLS 1.2
0 commit comments