
gems.jruby-openssl-0.7.5.lib.shared.openssl.rb Maven / Gradle / Ivy
The newest version!
unless defined? JRUBY_VERSION
warn 'Loading jruby-openssl in a non-JRuby interpreter'
end
begin
require 'bouncy-castle-java'
rescue LoadError
# runs under restricted mode.
end
require 'jopenssl'
if RUBY_VERSION >= '1.9.0'
$LOAD_PATH.unshift(File.expand_path('../../1.9', __FILE__))
load(File.expand_path('../../1.9/openssl.rb', __FILE__))
else
$LOAD_PATH.unshift(File.expand_path('../../1.8', __FILE__))
load(File.expand_path('../../1.8/openssl.rb', __FILE__))
end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy