1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

use OpenSSL::Cipher instead of deprecated OpenSSL::Cipher::Cipher for cipher creation.

Based on https://github.com/rails/rails/pull/25192#discussion_r65018222 and http://ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL/Cipher/Cipher.html
This commit is contained in:
Vipul A M 2016-05-29 19:49:16 -07:00
parent 3f2e83d964
commit 4ab1f7d0bb
No known key found for this signature in database
GPG key ID: 4C9362FE1F574587

View file

@ -97,7 +97,7 @@ module ActiveSupport
end
def new_cipher
OpenSSL::Cipher::Cipher.new(@cipher)
OpenSSL::Cipher.new(@cipher)
end
def verifier