summaryrefslogtreecommitdiff
path: root/test/openssl/utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/utils.rb')
-rw-r--r--test/openssl/utils.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb
index c116bf9e3e..92c6c5596e 100644
--- a/test/openssl/utils.rb
+++ b/test/openssl/utils.rb
@@ -1,4 +1,7 @@
-require "openssl"
+begin
+ require "openssl"
+rescue LoadError
+end
require "test/unit"
module OpenSSL::TestUtils
@@ -141,4 +144,4 @@ Q1VB8qkJN7rA7/2HrCR3gTsWNb1YhAsnFsoeRscC+LxXoXi9OAIUBG98h4tilg6S
$VERBOSE = back
end
end
-end
+end if defined?(OpenSSL)