summaryrefslogtreecommitdiff
path: root/test/openssl
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:07:31 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:07:31 +0000
commit3e92b635fb5422207b7bbdc924e292e51e21f040 (patch)
tree584f90b868188077c435bf144e15e66540a73acd /test/openssl
parentf6f7073e125ff903b77b8cb982a7417d96d51902 (diff)
Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl')
-rw-r--r--test/openssl/test_asn1.rb1
-rw-r--r--test/openssl/test_bn.rb1
-rw-r--r--test/openssl/test_buffering.rb1
-rw-r--r--test/openssl/test_cipher.rb1
-rw-r--r--test/openssl/test_config.rb1
-rw-r--r--test/openssl/test_digest.rb1
-rw-r--r--test/openssl/test_engine.rb1
-rw-r--r--test/openssl/test_fips.rb1
-rw-r--r--test/openssl/test_hmac.rb1
-rw-r--r--test/openssl/test_ns_spki.rb1
-rw-r--r--test/openssl/test_ocsp.rb1
-rw-r--r--test/openssl/test_pair.rb1
-rw-r--r--test/openssl/test_partial_record_read.rb1
-rw-r--r--test/openssl/test_pkcs12.rb1
-rw-r--r--test/openssl/test_pkcs5.rb1
-rw-r--r--test/openssl/test_pkcs7.rb1
-rw-r--r--test/openssl/test_pkey_dh.rb1
-rw-r--r--test/openssl/test_pkey_dsa.rb1
-rw-r--r--test/openssl/test_pkey_ec.rb1
-rw-r--r--test/openssl/test_pkey_rsa.rb1
-rw-r--r--test/openssl/test_random.rb1
-rw-r--r--test/openssl/test_ssl.rb1
-rw-r--r--test/openssl/test_ssl_session.rb1
-rw-r--r--test/openssl/test_x509cert.rb1
-rw-r--r--test/openssl/test_x509crl.rb1
-rw-r--r--test/openssl/test_x509ext.rb1
-rw-r--r--test/openssl/test_x509name.rb1
-rw-r--r--test/openssl/test_x509req.rb1
-rw-r--r--test/openssl/test_x509store.rb1
-rw-r--r--test/openssl/utils.rb1
30 files changed, 30 insertions, 0 deletions
diff --git a/test/openssl/test_asn1.rb b/test/openssl/test_asn1.rb
index 8955d727167..fd2118d808d 100644
--- a/test/openssl/test_asn1.rb
+++ b/test/openssl/test_asn1.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
class OpenSSL::TestASN1 < Test::Unit::TestCase
diff --git a/test/openssl/test_bn.rb b/test/openssl/test_bn.rb
index 667cb2964e9..848d1feb437 100644
--- a/test/openssl/test_bn.rb
+++ b/test/openssl/test_bn.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_buffering.rb b/test/openssl/test_buffering.rb
index 0ca645998e3..fe07b46a5e2 100644
--- a/test/openssl/test_buffering.rb
+++ b/test/openssl/test_buffering.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
require 'stringio'
diff --git a/test/openssl/test_cipher.rb b/test/openssl/test_cipher.rb
index 6f92c381cf8..89c176f4de4 100644
--- a/test/openssl/test_cipher.rb
+++ b/test/openssl/test_cipher.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb
index 62f9fabce20..8f5bdb21505 100644
--- a/test/openssl/test_config.rb
+++ b/test/openssl/test_config.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
class OpenSSL::TestConfig < Test::Unit::TestCase
diff --git a/test/openssl/test_digest.rb b/test/openssl/test_digest.rb
index 5390225f36c..e206ca0283e 100644
--- a/test/openssl/test_digest.rb
+++ b/test/openssl/test_digest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_engine.rb b/test/openssl/test_engine.rb
index a7264d0eeb8..3521de63961 100644
--- a/test/openssl/test_engine.rb
+++ b/test/openssl/test_engine.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
class OpenSSL::TestEngine < Test::Unit::TestCase
diff --git a/test/openssl/test_fips.rb b/test/openssl/test_fips.rb
index 6e4ac6d3457..33769c9388f 100644
--- a/test/openssl/test_fips.rb
+++ b/test/openssl/test_fips.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_hmac.rb b/test/openssl/test_hmac.rb
index f709ebd69bc..135d26f02c7 100644
--- a/test/openssl/test_hmac.rb
+++ b/test/openssl/test_hmac.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
require_relative 'utils'
diff --git a/test/openssl/test_ns_spki.rb b/test/openssl/test_ns_spki.rb
index ab07bfbebb3..4f6e6f59e79 100644
--- a/test/openssl/test_ns_spki.rb
+++ b/test/openssl/test_ns_spki.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_ocsp.rb b/test/openssl/test_ocsp.rb
index af727d8ecdb..1a969fd767f 100644
--- a/test/openssl/test_ocsp.rb
+++ b/test/openssl/test_ocsp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb
index 33ec5554925..06ed3836ca9 100644
--- a/test/openssl/test_pair.rb
+++ b/test/openssl/test_pair.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_partial_record_read.rb b/test/openssl/test_partial_record_read.rb
index 1899a300df1..71e644a0395 100644
--- a/test/openssl/test_partial_record_read.rb
+++ b/test/openssl/test_partial_record_read.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pkcs12.rb b/test/openssl/test_pkcs12.rb
index c44cee00ed7..ba07d767898 100644
--- a/test/openssl/test_pkcs12.rb
+++ b/test/openssl/test_pkcs12.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pkcs5.rb b/test/openssl/test_pkcs5.rb
index 5e85dde955b..f38fd716b76 100644
--- a/test/openssl/test_pkcs5.rb
+++ b/test/openssl/test_pkcs5.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
class OpenSSL::TestPKCS5 < Test::Unit::TestCase
diff --git a/test/openssl/test_pkcs7.rb b/test/openssl/test_pkcs7.rb
index 47bd4f31337..ce99db50b17 100644
--- a/test/openssl/test_pkcs7.rb
+++ b/test/openssl/test_pkcs7.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pkey_dh.rb b/test/openssl/test_pkey_dh.rb
index 040d0309143..9ef4025bee3 100644
--- a/test/openssl/test_pkey_dh.rb
+++ b/test/openssl/test_pkey_dh.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pkey_dsa.rb b/test/openssl/test_pkey_dsa.rb
index e4ea1b5bd71..eb3e4f1c65e 100644
--- a/test/openssl/test_pkey_dsa.rb
+++ b/test/openssl/test_pkey_dsa.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
require 'base64'
diff --git a/test/openssl/test_pkey_ec.rb b/test/openssl/test_pkey_ec.rb
index 1693ace01fb..fe128fd4556 100644
--- a/test/openssl/test_pkey_ec.rb
+++ b/test/openssl/test_pkey_ec.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils) && defined?(OpenSSL::PKey::EC)
diff --git a/test/openssl/test_pkey_rsa.rb b/test/openssl/test_pkey_rsa.rb
index ea042c27857..165b1ec98eb 100644
--- a/test/openssl/test_pkey_rsa.rb
+++ b/test/openssl/test_pkey_rsa.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
require 'base64'
diff --git a/test/openssl/test_random.rb b/test/openssl/test_random.rb
index e4242acf182..8c69d5431c4 100644
--- a/test/openssl/test_random.rb
+++ b/test/openssl/test_random.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require "openssl"
rescue LoadError
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb
index 5682bf5081f..58fcc0802aa 100644
--- a/test/openssl/test_ssl.rb
+++ b/test/openssl/test_ssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_ssl_session.rb b/test/openssl/test_ssl_session.rb
index 28d268e76b1..3294aa7f80d 100644
--- a/test/openssl/test_ssl_session.rb
+++ b/test/openssl/test_ssl_session.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509cert.rb b/test/openssl/test_x509cert.rb
index 783677a4324..72cb9e6095f 100644
--- a/test/openssl/test_x509cert.rb
+++ b/test/openssl/test_x509cert.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509crl.rb b/test/openssl/test_x509crl.rb
index 9dc1b1cd14b..7994ddeaf90 100644
--- a/test/openssl/test_x509crl.rb
+++ b/test/openssl/test_x509crl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509ext.rb b/test/openssl/test_x509ext.rb
index 29e9f1dc44c..e6d49bb679e 100644
--- a/test/openssl/test_x509ext.rb
+++ b/test/openssl/test_x509ext.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509name.rb b/test/openssl/test_x509name.rb
index a92af534929..56e79879cfc 100644
--- a/test/openssl/test_x509name.rb
+++ b/test/openssl/test_x509name.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509req.rb b/test/openssl/test_x509req.rb
index 27040cb7bf3..f1bf18465f8 100644
--- a/test/openssl/test_x509req.rb
+++ b/test/openssl/test_x509req.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509store.rb b/test/openssl/test_x509store.rb
index f3e144fc51b..9964cc8fc47 100644
--- a/test/openssl/test_x509store.rb
+++ b/test/openssl/test_x509store.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb
index bd936beed70..0802c1ba998 100644
--- a/test/openssl/utils.rb
+++ b/test/openssl/utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require "openssl"