summaryrefslogtreecommitdiff
path: root/lib/rubygems/security/policy.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-07-11 11:16:47 +0200
committerHiroshi SHIBATA <[email protected]>2020-07-31 21:07:19 +0900
commit9057e9c7b1083eb8a6f52fa603508c06a0e8cc60 ()
tree5a8185fff8a21f492486100713270cf76cf83039 /lib/rubygems/security/policy.rb
parent6eb89f8637bbe1255b506d9ff447529b82169597 (diff)
[rubygems/rubygems] The file is only ever required when openssl is available
https://.com/rubygems/rubygems/commit/41976ef3ec
Notes: Merged: https://.com/ruby/ruby/pull/3379
-rw-r--r--lib/rubygems/security/policy.rb2
1 files changed, 0 insertions, 2 deletions
@@ -24,8 +24,6 @@ class Gem::Security::Policy
# options.
def initialize(name, policy = {}, opt = {})
- require 'openssl'
-
@name = name
@opt = opt