summaryrefslogtreecommitdiffstats
path: root/test/utils.rb
diff options
context:
space:
mode:
authoremboss <emboss@ruby-lang.org>2012-12-20 07:00:11 +0000
committeremboss <emboss@ruby-lang.org>2012-12-20 07:00:11 +0000
commitd1200554ea40bd258b210311ff997ba2b368df44 (patch)
tree83bd3b7d3e767da1100b58e30129c3aedcf35545 /test/utils.rb
parent15f2e577306f40405828ae5ac5c4b5bee20ed8cc (diff)
downloadruby-openssl-history-d1200554ea40bd258b210311ff997ba2b368df44.tar.gz
* ext/openssl/ossl.c: do not use FIPS_mode_set if not available.
* test/openssl/utils.rb: revise comment about setting FIPS mode to false. * test/openssl/test_fips.rb: remove tests that cause errors on ruby-ci. [Feature #6946] [ruby-core:47345] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/utils.rb')
-rw-r--r--test/utils.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/utils.rb b/test/utils.rb
index 646ed88..ba9714b 100644
--- a/test/utils.rb
+++ b/test/utils.rb
@@ -1,8 +1,9 @@
begin
require "openssl"
- # disable FIPS mode for tests for installations
- # where FIPS mode would be enabled by default
+ # Disable FIPS mode for tests for installations
+ # where FIPS mode would be enabled by default.
+ # Has no effect on all other installations.
OpenSSL.fips_mode=false
rescue LoadError
end