diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-19 16:07:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-19 16:07:36 -0400 |
commit | 06b0cb6224377fd2ea86e4e209e94a502f92716e (patch) | |
tree | ae6f1a631aebbdd18a2aef7ff7ec7299d9214d26 /Remote/Helper | |
parent | 94aa6b42b5bc5c37c7017fb3493010a56a9d211e (diff) |
add tmp flag parameter to retrieveKeyFile
Diffstat (limited to 'Remote/Helper')
-rw-r--r-- | Remote/Helper/Encryptable.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Helper/Encryptable.hs b/Remote/Helper/Encryptable.hs index 3abea7bc6..ad99c3092 100644 --- a/Remote/Helper/Encryptable.hs +++ b/Remote/Helper/Encryptable.hs @@ -55,8 +55,8 @@ encryptableRemote c storeKeyEncrypted retrieveKeyFileEncrypted r = store k = cip k >>= maybe (storeKey r k) (`storeKeyEncrypted` k) - retrieve k f = cip k >>= maybe - (retrieveKeyFile r k f) + retrieve k t f = cip k >>= maybe + (retrieveKeyFile r k t f) (`retrieveKeyFileEncrypted` f) withkey a k = cip k >>= maybe (a k) (a . snd) cip = cipherKey c |