1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/openssl/test_ssl.rb (test_not_started_session): non socket

argument of SSLSocket.new is not supported on Windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2010-12-01 06:09:22 +00:00
parent b5e1dfdb1b
commit 1972f9eec1
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Wed Dec 1 15:08:32 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* test/openssl/test_ssl.rb (test_not_started_session): non socket
argument of SSLSocket.new is not supported on Windows.
Wed Dec 1 14:36:36 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_memhash): zero-filled strings should return

View file

@ -161,6 +161,7 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
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|
assert_nil OpenSSL::SSL::SSLSocket.new(f).cert
end