aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_partial_record_read.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/test_partial_record_read.rb')
-rw-r--r--test/openssl/test_partial_record_read.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/openssl/test_partial_record_read.rb b/test/openssl/test_partial_record_read.rb
index f3d83c6973..2d23fc4f24 100644
--- a/test/openssl/test_partial_record_read.rb
+++ b/test/openssl/test_partial_record_read.rb
@@ -4,9 +4,7 @@ if defined?(OpenSSL)
class OpenSSL::TestPartialRecordRead < OpenSSL::SSLTestCase
def test_partial_tls_record_read_nonblock
- port = 12345
-
- start_server(port, OpenSSL::SSL::VERIFY_NONE, true, :server_proc =>
+ start_server(OpenSSL::SSL::VERIFY_NONE, true, :server_proc =>
Proc.new do |server_ctx, server_ssl|
begin
server_ssl.io.write("\x01") # the beginning of a TLS record