diff options
Diffstat (limited to 'jni/ruby/test/openssl/test_fips.rb')
-rw-r--r-- | jni/ruby/test/openssl/test_fips.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/jni/ruby/test/openssl/test_fips.rb b/jni/ruby/test/openssl/test_fips.rb new file mode 100644 index 0000000..6e4ac6d --- /dev/null +++ b/jni/ruby/test/openssl/test_fips.rb @@ -0,0 +1,14 @@ +require_relative 'utils' + +if defined?(OpenSSL::TestUtils) + +class OpenSSL::TestFIPS < Test::Unit::TestCase + + def test_fips_mode_is_reentrant + OpenSSL.fips_mode = false + OpenSSL.fips_mode = false + end + +end + +end |