зеркало из https://github.com/github/ruby.git
* test/openssl/test_ssl.rb: Fix LocalJumpErrors being raised
in OpenSSL tests. [ruby-core:70020][Bug #11368] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d5f479ca7e
Коммит
c7dc6a34b5
|
@ -1,3 +1,8 @@
|
|||
Tue Aug 11 12:13:20 2015 Jeremy Evans <merch-redmine@jeremyevans.net>
|
||||
|
||||
* test/openssl/test_ssl.rb: Fix LocalJumpErrors being raised
|
||||
in OpenSSL tests. [ruby-core:70020][Bug #11368]
|
||||
|
||||
Tue Aug 11 11:54:13 2015 Alexey Lipnyagov <liptonshmidt@gmail.com>
|
||||
|
||||
* string.c: Fix documentation for String#slice
|
||||
|
|
|
@ -1164,7 +1164,7 @@ end
|
|||
ssl = ctx ? OpenSSL::SSL::SSLSocket.new(sock, ctx) : OpenSSL::SSL::SSLSocket.new(sock)
|
||||
ssl.sync_close = true
|
||||
ssl.connect
|
||||
yield ssl
|
||||
yield ssl if block_given?
|
||||
ensure
|
||||
if ssl
|
||||
ssl.close
|
||||
|
|
Загрузка…
Ссылка в новой задаче