diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-13 12:46:58 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-13 12:46:58 +0000 |
commit | 3864eb828b37315d1e15f147bcfb4ff06566dcf6 (patch) | |
tree | 7bdc65a5363bf4c843c128f8d1367aa43af9343c /test/openssl/test_partial_record_read.rb | |
parent | 1e502d2a10e89a1960f829bcda6410eeb1069156 (diff) | |
download | ruby-3864eb828b37315d1e15f147bcfb4ff06566dcf6.tar.gz |
* test/openssl: Don't specify port number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_partial_record_read.rb')
-rw-r--r-- | test/openssl/test_partial_record_read.rb | 4 |
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 |