summaryrefslogtreecommitdiff
path: root/Data
diff options
context:
space:
mode:
Diffstat (limited to 'Data')
-rw-r--r--Data/OpenPGP.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Data/OpenPGP.hs b/Data/OpenPGP.hs
index 9ddb19f..26ec335 100644
--- a/Data/OpenPGP.hs
+++ b/Data/OpenPGP.hs
@@ -403,7 +403,7 @@ parse_packet :: Word8 -> Get Packet
403parse_packet 2 = do 403parse_packet 2 = do
404 version <- get 404 version <- get
405 case version of 405 case version of
406 3 -> do 406 _ | version `elem` [2,3] -> do
407 _ <- fmap (assertProp (==5)) (get :: Get Word8) 407 _ <- fmap (assertProp (==5)) (get :: Get Word8)
408 signature_type <- get 408 signature_type <- get
409 creation_time <- get :: Get Word32 409 creation_time <- get :: Get Word32