diff options
author | jgls <joerg@joergleis.com> | 2013-04-16 15:01:23 +0300 |
---|---|---|
committer | Jörg Leis <joerg@joergleis.com> | 2013-04-19 00:33:02 +0200 |
commit | 91a0a1156e622cad5221f33e852c19aa8eba6cbf (patch) | |
tree | 4f614ce1db2cff77dd9ccfaddf64c920333a92d6 /actionpack/lib/action_view/template.rb | |
parent | 41a90dd459b791c9dcb532ac0c98400081b63edd (diff) | |
download | rails-91a0a1156e622cad5221f33e852c19aa8eba6cbf.tar.gz rails-91a0a1156e622cad5221f33e852c19aa8eba6cbf.tar.bz2 rails-91a0a1156e622cad5221f33e852c19aa8eba6cbf.zip |
Reorganize MessageEncryptor
1) According to OpenSSL's documentation, cipher.random_iv must be called
after cipher.encrypt and already sets the generated IV on the cipher.
2) OpenSSL::CipherError was moved to OpenSSL::Cipher::CipherError in
Ruby 1.8.7. Since Rails 4 requires at least Ruby 1.9.3, support for
the old location can be dropped.
Diffstat (limited to 'actionpack/lib/action_view/template.rb')
0 files changed, 0 insertions, 0 deletions