summaryrefslogtreecommitdiff
path: root/test/openssl/test_ns_spki.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/test_ns_spki.rb')
-rw-r--r--test/openssl/test_ns_spki.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/openssl/test_ns_spki.rb b/test/openssl/test_ns_spki.rb
index 14895edb7d..3bcf3e6fbe 100644
--- a/test/openssl/test_ns_spki.rb
+++ b/test/openssl/test_ns_spki.rb
@@ -1,13 +1,7 @@
-begin
- require "openssl"
- require_relative 'utils'
-rescue LoadError
-end
-require "test/unit"
+require_relative 'utils'
if defined?(OpenSSL)
-
class OpenSSL::TestNSSPI < Test::Unit::TestCase
def setup
# This request data is adopt from the specification of
@@ -20,9 +14,6 @@ class OpenSSL::TestNSSPI < Test::Unit::TestCase
@b64 << "i0//rgBvmco="
end
- def teardown
- end
-
def test_build_data
key1 = OpenSSL::TestUtils::TEST_KEY_RSA1024
key2 = OpenSSL::TestUtils::TEST_KEY_RSA2048