* test/openssl/digest.rb: remove MDC2 from test, it is not available

by default in an OpenSSL installation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
emboss 2011-06-13 11:32:43 +00:00
Родитель 038ef3f05c
Коммит 56aca9fc00
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Mon Jun 13 20:28:24 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/digest.rb: remove MDC2 from test, it is not available
by default in an OpenSSL installation.
Mon Jun 13 20:18:55 2011 Koichi Sasada <ko1@atdot.net>
* vm_core.h, vm_insnhelper.h: move decl. of

Просмотреть файл

@ -57,7 +57,7 @@ class OpenSSL::TestDigest < Test::Unit::TestCase
end
def test_digest_constants
algs = %w(DSS1 MD4 MD5 MDC2 RIPEMD160 SHA SHA1)
algs = %w(DSS1 MD4 MD5 RIPEMD160 SHA SHA1)
if OpenSSL::OPENSSL_VERSION_NUMBER > 0x00908000
algs += %w(SHA224 SHA256 SHA384 SHA512)
end