diff options
author | emboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-25 13:24:47 +0000 |
---|---|---|
committer | emboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-25 13:24:47 +0000 |
commit | 913827b6afd701f5f5b7461e3acf15c70ab4f22b (patch) | |
tree | 741dbd07a0774e8041f20828c6892625de2ed98e /test | |
parent | 655a20ea9ddc13fc9359c3ae790371d658181db0 (diff) | |
download | ruby-913827b6afd701f5f5b7461e3acf15c70ab4f22b.tar.gz |
* ext/openssl/ossl_ssl.c: Revert r35583
* test/openssl/test_ssl.rb: Handle ECONNRESET in code instead to avoid
the test failing in Ruby CI [1]
[1] http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20120507T190102Z.log.html.gz#test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/openssl/test_ssl.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 5fff78fe3e..f3f3c9c365 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -516,6 +516,8 @@ end ssl.sync_close = true ssl.connect yield ssl + rescue Errno::ECONNRESET => e + raise OpenSSL::SSL::SSLError.new(e.message) ensure ssl.close end |