diff options
author | akr <akr@ruby-lang.org> | 2014-11-13 12:46:58 +0000 |
---|---|---|
committer | akr <akr@ruby-lang.org> | 2014-11-13 12:46:58 +0000 |
commit | 204237dc5dad2889d5108fa3daab93f82f1fbdac (patch) | |
tree | 757cb638975efa81a6b3bc384f390f72f3daac82 /test/test_partial_record_read.rb | |
parent | 7ba61efb550b0db4c217ec0aa13e22943221b4ef (diff) | |
download | ruby-openssl-history-204237dc5dad2889d5108fa3daab93f82f1fbdac.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/test_partial_record_read.rb')
-rw-r--r-- | test/test_partial_record_read.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_partial_record_read.rb b/test/test_partial_record_read.rb index f3d83c6..2d23fc4 100644 --- a/test/test_partial_record_read.rb +++ b/test/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 |