mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
fix test failure with OpenSSL disabled SSLv3 protocol. [ruby-core:63772] [Bug #10046] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f5da412c9e
commit
dc599c2cb8
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Jan 2 15:10:01 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
|
||||
fix test failure with OpenSSL disabled SSLv3 protocol.
|
||||
[ruby-core:63772] [Bug #10046]
|
||||
|
||||
Fri Jan 2 09:08:31 2015 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
|
||||
|
|
|
@ -278,7 +278,7 @@ __EOS__
|
|||
|
||||
def test_ctx_client_session_cb
|
||||
called = {}
|
||||
ctx = OpenSSL::SSL::SSLContext.new("SSLv3")
|
||||
ctx = OpenSSL::SSL::SSLContext.new
|
||||
ctx.session_cache_mode = OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT
|
||||
|
||||
ctx.session_new_cb = lambda { |ary|
|
||||
|
|
Loading…
Add table
Reference in a new issue