diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-01 14:16:57 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-01 14:16:57 -0200 |
commit | 0392586f090bc4a93ff523660d05c6147b7491a7 (patch) | |
tree | e1eb8d8cdb370b8344b0fcd5235b10a55de16505 /lib/keyring | |
parent | e98d98fd889d897f0e6809a01d91be9385f01941 (diff) | |
download | keyringer-0392586f090bc4a93ff523660d05c6147b7491a7.tar.gz keyringer-0392586f090bc4a93ff523660d05c6147b7491a7.tar.bz2 |
Code cleanup
Diffstat (limited to 'lib/keyring')
-rw-r--r-- | lib/keyring/crypt.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/keyring/crypt.rb b/lib/keyring/crypt.rb index 4c9baaf..15430b4 100644 --- a/lib/keyring/crypt.rb +++ b/lib/keyring/crypt.rb @@ -25,10 +25,10 @@ module Keyring end def decrypt(filename) - file = Backend::Fs.new() - content = file.get_as_string(filename) + file = Backend::Fs.new crypt = Backend::Crypt.new(nil) - return crypt.decrypt(content) + content = file.get_as_string(filename) + crypt.decrypt(content) end def decryptKey(name) |