ruby-changes:21252
From: naruse <ko1@a...>
Date: Tue, 20 Sep 2011 16:18:48 +0900 (JST)
Subject: [ruby-changes:21252] naruse:r33301 (trunk): Skip patented algorithms: IDEA and RC5 on NetBSD.
naruse 2011-09-20 16:18:37 +0900 (Tue, 20 Sep 2011) New Revision: 33301 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33301 Log: Skip patented algorithms: IDEA and RC5 on NetBSD. On NetBSD, if it uses patented algorithms without explicit option, openssl will abort. Modified files: trunk/test/openssl/test_cipher.rb Index: test/openssl/test_cipher.rb =================================================================== --- test/openssl/test_cipher.rb (revision 33300) +++ test/openssl/test_cipher.rb (revision 33301) @@ -72,6 +72,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/