Skip to content

Commit

Permalink
String test for 1.9 not needed for backwards compat. Tested fine in 1…
Browse files Browse the repository at this point in the history
….8.7-p357.
  • Loading branch information
Sproinks committed Feb 27, 2012
1 parent 40362e9 commit 1a779c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/clearance/password_strategies/blowfish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def encrypt_password
end

def generate_hash(string)
# TODO: 1.9 vs 1.8 testing
cipher = OpenSSL::Cipher::Cipher.new('bf-cbc').encrypt
cipher.key = Digest::SHA256.digest(salt)
cipher.update(string) << cipher.final
Expand Down

0 comments on commit 1a779c8

Please sign in to comment.