diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-30 22:10:21 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-30 22:10:21 +0000 |
commit | 310d77d4b05d1aa166616ca323ebcc7f67bc7378 (patch) | |
tree | c778eba7300c7eec523962d80f973d1ab1f18a4e /lib/rubygems/security.rb | |
parent | d82e5cc4cc0c3340a9fa92f795751d495e13efe1 (diff) | |
download | ruby-310d77d4b05d1aa166616ca323ebcc7f67bc7378.tar.gz |
* lib/rubygems: Import RubyGems from master as of commit 523551c
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/security.rb')
-rw-r--r-- | lib/rubygems/security.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/security.rb b/lib/rubygems/security.rb index ef0ff12cda..bfd6fd225b 100644 --- a/lib/rubygems/security.rb +++ b/lib/rubygems/security.rb @@ -368,7 +368,7 @@ module Gem::Security # Cipher used to encrypt the key pair used to sign gems. # Must be in the list returned by OpenSSL::Cipher.ciphers - KEY_CIPHER = OpenSSL::Cipher.new('aes256') if defined?(OpenSSL::Cipher) + KEY_CIPHER = OpenSSL::Cipher.new('AES-256-CBC') if defined?(OpenSSL::Cipher) ## # One year in seconds |