diff options
Diffstat (limited to 'Hash.hs')
-rw-r--r-- | Hash.hs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |