From 3a902c4dbd366ddfe696ae0565f0c0174996f9cd Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 20 Sep 2011 07:18:37 +0000 Subject: Skip patented algorithms: IDEA and RC5 on NetBSD. On NetBSD, if it uses patented algorithms without explicit option, openssl will abort. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/openssl/test_cipher.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/openssl/test_cipher.rb b/test/openssl/test_cipher.rb index eb2f4fec57..0e4a7759fe 100644 --- a/test/openssl/test_cipher.rb +++ b/test/openssl/test_cipher.rb @@ -72,6 +72,7 @@ class OpenSSL::TestCipher < Test::Unit::TestCase if OpenSSL::OPENSSL_VERSION_NUMBER > 0x00907000 def test_ciphers OpenSSL::Cipher.ciphers.each{|name| + next if /netbsd/ =~ RUBY_PLATFORM && /idea|rc5/i =~ name assert(OpenSSL::Cipher::Cipher.new(name).is_a?(OpenSSL::Cipher::Cipher)) } end -- cgit v1.2.3