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

* 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
parent 038ef3f05c
commit 56aca9fc00
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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