aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/resolver_cache_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-11-25 11:33:11 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-11-25 11:39:41 -0500
commitf76ca450f5027a4fa578d939b35fe4f608f2423e (patch)
treefd2c1c4235348b953ccf8361434590a2a536753b /actionview/test/template/resolver_cache_test.rb
parent0623b5d19408ef3093bef3597bfcb12cf70a08a3 (diff)
downloadrails-f76ca450f5027a4fa578d939b35fe4f608f2423e.tar.gz
rails-f76ca450f5027a4fa578d939b35fe4f608f2423e.tar.bz2
rails-f76ca450f5027a4fa578d939b35fe4f608f2423e.zip
Compare the actual string after comparing the HMAC proccessed strings
Even that collisions are unlikely we need to make sure the two strings are equal. Timing is not important in this case because this only runs after the comparison between the SHA256 digested strings returns true.
Diffstat (limited to 'actionview/test/template/resolver_cache_test.rb')
0 files changed, 0 insertions, 0 deletions