summaryrefslogtreecommitdiff
path: root/Remote/Helper/Encryptable.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-04 22:47:53 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-04 22:47:53 -0400
commit766bfc5c2b0581aea1b42e997b145b6bbd59137a (patch)
treef52c543e810ef9e7b856266b4e8715fdee3c08ef /Remote/Helper/Encryptable.hs
parentc71ca7d084ff64e153b2d7d586a73bd66ee0a612 (diff)
tabs
Diffstat (limited to 'Remote/Helper/Encryptable.hs')
-rw-r--r--Remote/Helper/Encryptable.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Helper/Encryptable.hs b/Remote/Helper/Encryptable.hs
index 70e3663ea..29e51c002 100644
--- a/Remote/Helper/Encryptable.hs
+++ b/Remote/Helper/Encryptable.hs
@@ -143,7 +143,7 @@ cipherKey c k = fmap make <$> remoteCipher c
where
make ciphertext = (cipContent ciphertext, encryptKey mac ciphertext k)
cipContent
- | M.lookup "encryption" c /= Just "pubkey" = id
+ | M.lookup "encryption" c /= Just "pubkey" = id
| otherwise = const $ Cipher ""
mac = fromMaybe defaultMac $ M.lookup "mac" c >>= readMac