summaryrefslogtreecommitdiff
path: root/test/drb/test_drbssl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/test_drbssl.rb')
-rw-r--r--test/drb/test_drbssl.rb12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/drb/test_drbssl.rb b/test/drb/test_drbssl.rb
index 0ca177fe582..1e7e49a72ce 100644
--- a/test/drb/test_drbssl.rb
+++ b/test/drb/test_drbssl.rb
@@ -1,6 +1,13 @@
$:.unshift(File.dirname(File.expand_path(__FILE__)))
require 'drbtest'
-require 'drb/ssl'
+
+begin
+ require 'drb/ssl'
+rescue LoadError
+end
+
+if Object.const_defined?("OpenSSL")
+
class DRbSSLService < DRbService
%w(ut_drb_drbssl.rb ut_array_drbssl.rb).each do |nm|
@@ -63,3 +70,6 @@ class TestDRbSSLAry < Test::Unit::TestCase
@there = @ext.front
end
end
+
+
+end