summaryrefslogtreecommitdiffhomepage
path: root/Hash.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Hash.hs')
-rw-r--r--Hash.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Hash.hs b/Hash.hs
index bf8e166..6fb5614 100644
--- a/Hash.hs
+++ b/Hash.hs
@@ -68,8 +68,12 @@ instance Hashable PublicKey where
instance Hashable GpgSig where
hash (GpgSig v) = hash $ Tagged "GpgSig" v
+instance Hashable GpgKeyExport where
+ hash (GpgKeyExport v) = hash $ Tagged "GpgKeyExport" v
+
instance Hashable a => Hashable (PerhapsSigned a) where
- hash (GpgSigned a sig) = hash $ Tagged "GpgSigned" [hash a, hash sig]
+ hash (GpgSigned a sig export) = hash $
+ Tagged "GpgSigned" [hash a, hash sig, hash export]
hash (UnSigned a) = hash $ Tagged "UnSigned" a
instance Hashable ElapsedTime where