Sha256: 03cc7098fc0802a43fab8e821d499413756fcffeafaf54e651a429b09389798a

Contents?: true

Size: 481 Bytes

Versions: 1

Compression:

Stored size: 481 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jruby-openssl-0.7.5 lib/shared/openssl.rb