зеркало из https://github.com/github/ruby.git
* 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:
Родитель
038ef3f05c
Коммит
56aca9fc00
|
@ -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>
|
Mon Jun 13 20:18:55 2011 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* vm_core.h, vm_insnhelper.h: move decl. of
|
* vm_core.h, vm_insnhelper.h: move decl. of
|
||||||
|
|
|
@ -57,7 +57,7 @@ class OpenSSL::TestDigest < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_digest_constants
|
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
|
if OpenSSL::OPENSSL_VERSION_NUMBER > 0x00908000
|
||||||
algs += %w(SHA224 SHA256 SHA384 SHA512)
|
algs += %w(SHA224 SHA256 SHA384 SHA512)
|
||||||
end
|
end
|
||||||
|
|
Загрузка…
Ссылка в новой задаче