We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c03dbe6 commit 7715b44Copy full SHA for 7715b44
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
@@ -1606,7 +1606,12 @@ def test_options_disable_versions
1606
# Client only supports TLS 1.3
1607
ctx2 = OpenSSL::SSL::SSLContext.new
1608
ctx2.min_version = ctx2.max_version = OpenSSL::SSL::TLS1_3_VERSION
1609
- assert_nothing_raised { server_connect(port, ctx2) { } }
+ assert_nothing_raised {
1610
+ server_connect(port, ctx2) { |ssl|
1611
+ # Ensure SSL_accept() finishes successfully
1612
+ ssl.puts("abc"); ssl.gets
1613
+ }
1614
1615
1616
1617
# Server only supports TLS 1.2
0 commit comments