aboutsummaryrefslogtreecommitdiff
path: root/Crypto.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-12 05:05:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-12 05:05:33 -0400
commitb7e2169d6d93440e2d50581d2a373db121e9b34c (patch)
tree3873ebad3515d21334e8a8521fb0011bebc1a59b /Crypto.hs
parent09aefea8f1853be512729657324aae7a7c03d421 (diff)
linelength
Diffstat (limited to 'Crypto.hs')
-rw-r--r--Crypto.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Crypto.hs b/Crypto.hs
index 21a35ad0b..2777a9a20 100644
--- a/Crypto.hs
+++ b/Crypto.hs
@@ -95,7 +95,8 @@ describeCipher (EncryptedCipher _ (KeyIds ks)) =
{- Encrypts a Cipher to the specified KeyIds. -}
encryptCipher :: Cipher -> KeyIds -> IO StorableCipher
encryptCipher (Cipher c) (KeyIds ks) = do
- let ks' = nub $ sort ks -- gpg complains about duplicate recipient keyids
+ -- gpg complains about duplicate recipient keyids
+ let ks' = nub $ sort ks
encipher <- Gpg.pipeStrict ([ Params "--encrypt" ] ++ recipients ks') c
return $ EncryptedCipher encipher (KeyIds ks')
where