mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* rescue LoadError. [ruby-dev:23539]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									d3ba99c15f
								
							
						
					
					
						commit
						6988d86035
					
				
					 4 changed files with 35 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,11 @@
 | 
			
		|||
require "openssl"
 | 
			
		||||
begin
 | 
			
		||||
  require "openssl"
 | 
			
		||||
  require File.join(File.dirname(__FILE__), "utils.rb")
 | 
			
		||||
rescue LoadError
 | 
			
		||||
end
 | 
			
		||||
require "test/unit"
 | 
			
		||||
require File.join(File.dirname(__FILE__), "utils.rb")
 | 
			
		||||
 | 
			
		||||
if defined?(OpenSSL)
 | 
			
		||||
 | 
			
		||||
class OpenSSL::TestX509Request < Test::Unit::TestCase
 | 
			
		||||
  def setup
 | 
			
		||||
| 
						 | 
				
			
			@ -131,3 +136,5 @@ class OpenSSL::TestX509Request < Test::Unit::TestCase
 | 
			
		|||
      issue_csr(0, @dn, @dsa512, OpenSSL::Digest::MD5.new) }
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue