aboutsummaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-08 16:01:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-08 16:01:46 -0400
commite3f1568e0ff7dc872f3782115c74b9e7d8c291b2 (patch)
treedab3d9797fe1ff96d22baf88c45d9e66b827c905 /Types
parent2568beee07928d1bd462d631372881f146b190ee (diff)
Fix caching of decrypted ciphers, which failed when drop had to check multiple different encrypted special remotes.
Diffstat (limited to 'Types')
-rw-r--r--Types/Crypto.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types/Crypto.hs b/Types/Crypto.hs
index a9d3dddc5..29a4cd099 100644
--- a/Types/Crypto.hs
+++ b/Types/Crypto.hs
@@ -11,5 +11,7 @@ module Types.Crypto where
newtype Cipher = Cipher String
data EncryptedCipher = EncryptedCipher String KeyIds
+ deriving (Ord, Eq)
newtype KeyIds = KeyIds [String]
+ deriving (Ord, Eq)