diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-05-30 20:39:57 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-05-30 20:39:57 +0200 |
commit | 518893f82be616a22176a8671e394d4ccb6b6c58 (patch) | |
tree | 933195490643a1dbdc797dfbcae5395deff0ec04 /activesupport | |
parent | b3dfd7d16cc37dcaf4298fe42e69a56ab3c6b00e (diff) | |
parent | 4ab1f7d0bb27544aac7d035d863cabd85670a0ad (diff) | |
download | rails-518893f82be616a22176a8671e394d4ccb6b6c58.tar.gz rails-518893f82be616a22176a8671e394d4ccb6b6c58.tar.bz2 rails-518893f82be616a22176a8671e394d4ccb6b6c58.zip |
Merge pull request #25194 from vipulnsward/use-cipher
use OpenSSL::Cipher instead of deprecated OpenSSL::Cipher::Cipher
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/message_encryptor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/message_encryptor.rb b/activesupport/lib/active_support/message_encryptor.rb index 2dde01c844..721efea789 100644 --- a/activesupport/lib/active_support/message_encryptor.rb +++ b/activesupport/lib/active_support/message_encryptor.rb @@ -97,7 +97,7 @@ module ActiveSupport end def new_cipher - OpenSSL::Cipher::Cipher.new(@cipher) + OpenSSL::Cipher.new(@cipher) end def verifier |