summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorusa <usa@ruby-lang.org>2010-05-19 05:14:41 +0000
committerusa <usa@ruby-lang.org>2010-05-19 05:14:41 +0000
commit0583e67705c81df36a0c21ccd0648d1bd024d194 (patch)
treedc4d947d573ecd0cdf8f4cd1b98d345c3c8521dd /test
parent29a3cb42cc1be1fb3b396fe3bd660f6e7974735a (diff)
downloadruby-openssl-history-0583e67705c81df36a0c21ccd0648d1bd024d194.tar.gz
* 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
Diffstat (limited to 'test')
-rw-r--r--test/test_ssl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ssl.rb b/test/test_ssl.rb
index 6dd872e..558bf1b 100644
--- a/test/test_ssl.rb
+++ b/test/test_ssl.rb
@@ -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