diff options
Diffstat (limited to 'test/openssl/test_ssl.rb')
-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 |