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

* test/openssl/test_pkey_dh.rb: revert special treatment of

FIPS-capable installations since FIPS mode is now disabled for the
  tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
emboss 2012-12-20 00:32:09 +00:00
parent 9fbdf1e347
commit b28ac4039d
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Thu Dec 20 10:29:58 2012 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_dh.rb: revert special treatment of
FIPS-capable installations since FIPS mode is now disabled for the
tests.
Thu Dec 20 10:23:12 2012 Martin Bosslet <Martin.Bosslet@gmail.com> Thu Dec 20 10:23:12 2012 Martin Bosslet <Martin.Bosslet@gmail.com>
* ext/openssl/ossl.c: add OpenSSL.fips_mode= to allow enabling FIPS * ext/openssl/ossl.c: add OpenSSL.fips_mode= to allow enabling FIPS

View file

@ -4,8 +4,7 @@ if defined?(OpenSSL)
class OpenSSL::TestPKeyDH < Test::Unit::TestCase class OpenSSL::TestPKeyDH < Test::Unit::TestCase
# improve test performance for non-FIPS installations NEW_KEYLEN = 256
NEW_KEYLEN = OpenSSL::OPENSSL_FIPS ? 1024 : 256
def test_new def test_new
dh = OpenSSL::PKey::DH.new(NEW_KEYLEN) dh = OpenSSL::PKey::DH.new(NEW_KEYLEN)