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:
parent
3f2e83d964
commit
4ab1f7d0bb
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ module ActiveSupport
|
|||
end
|
||||
|
||||
def new_cipher
|
||||
OpenSSL::Cipher::Cipher.new(@cipher)
|
||||
OpenSSL::Cipher.new(@cipher)
|
||||
end
|
||||
|
||||
def verifier
|
||||
|
|
Loading…
Reference in a new issue