* test/openssl/test_ssl.rb: removed unnecessary free port scanning of

test_ssl.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2010-08-19 08:14:48 +00:00
parent 28ef80bcda
commit 71da8cbd5a
2 changed files with 5 additions and 6 deletions

View file

@ -123,12 +123,6 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
Socket.do_not_reverse_lookup = true
tcps, port = choose_port(port0)
begin
tcps = TCPServer.new("127.0.0.1", port)
rescue Errno::EADDRINUSE
port += 1
retry
end
ssls = OpenSSL::SSL::SSLServer.new(tcps, ctx)
ssls.start_immediately = start_immediately