aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/utils.rb
diff options
context:
space:
mode:
authoremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-20 07:00:11 +0000
committeremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-20 07:00:11 +0000
commit4fce754f9b603664501ac4ee982988fb264d20f2 (patch)
tree99b04029517f551e2713e6593cbde62f53609b24 /test/openssl/utils.rb
parenta6ed298df738b21b21ed2073bd89bb65565848f7 (diff)
downloadruby-4fce754f9b603664501ac4ee982988fb264d20f2.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/openssl/utils.rb')
-rw-r--r--test/openssl/utils.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb
index 646ed88366..ba9714b3fc 100644
--- a/test/openssl/utils.rb
+++ b/test/openssl/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