mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/openssl/test_ssl.rb (test_client_auth): Errno::ECONNRESET is raised on
Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
119863716b
commit
4b1a1f7701
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
|
|||
def test_client_auth
|
||||
vflag = OpenSSL::SSL::VERIFY_PEER|OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
|
||||
start_server(PORT, vflag, true){|server, port|
|
||||
assert_raise(OpenSSL::SSL::SSLError){
|
||||
assert_raise(OpenSSL::SSL::SSLError, Errno::ECONNRESET){
|
||||
sock = TCPSocket.new("127.0.0.1", port)
|
||||
ssl = OpenSSL::SSL::SSLSocket.new(sock)
|
||||
ssl.connect
|
||||
|
|
Loading…
Reference in a new issue