mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/openssl/test_ssl.rb: Add certificate verification chain
test from JRuby community. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e697783d6e
commit
88326272bc
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Oct 31 15:26:02 2014 Charles Oliver Nutter <headius@headius.com>
|
||||
|
||||
* test/openssl/test_ssl.rb: Add certificate verification chain
|
||||
test from JRuby community.
|
||||
|
||||
Fri Oct 31 18:58:02 2014 Charles Oliver Nutter <headius@headius.com>
|
||||
|
||||
* test/psych/test_emitter.rb: Fix line_width test...initial value
|
||||
|
|
|
@ -19,6 +19,13 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
|
|||
ctx.options & OpenSSL::SSL::OP_NO_COMPRESSION)
|
||||
end if defined?(OpenSSL::SSL::OP_NO_COMPRESSION)
|
||||
|
||||
def test_ctx_setup_with_extra_chain_cert
|
||||
ctx = OpenSSL::SSL::SSLContext.new
|
||||
ctx.extra_chain_cert = [@ca_cert, @cli_cert]
|
||||
assert_equal(ctx.setup, true)
|
||||
assert_equal(ctx.setup, nil)
|
||||
end
|
||||
|
||||
def test_not_started_session
|
||||
skip "non socket argument of SSLSocket.new is not supported on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||
open(__FILE__) do |f|
|
||||
|
|
Loading…
Reference in a new issue