packages feed

hOpenPGP 2.9 → 2.9.1

raw patch · 2 files changed

+6/−6 lines, 2 files

Files

Codec/Encryption/OpenPGP/Serialize.hs view
@@ -1,5 +1,5 @@ -- Serialize.hs: OpenPGP (RFC4880) serialization (using cereal)--- Copyright © 2012-2019  Clint Adams+-- Copyright © 2012-2020  Clint Adams -- This software is released under the terms of the Expat license. -- (See the LICENSE file). module Codec.Encryption.OpenPGP.Serialize@@ -950,7 +950,7 @@                    (uncurry                       ECCT.Point                       (bimap os2ip os2ip (B.splitAt (div l 2) xy)))-            else fail $ "unknown type of point: " ++ show (B.unpack bs)+            else Left $ "unknown type of point: " ++ show (B.unpack bs)  putPubkey :: PKey -> Put putPubkey (UnknownPKey bs) = putLazyByteString bs@@ -1102,7 +1102,7 @@     (if checksum == 0        then BL.foldl (\a b -> mod (a + fromIntegral b) 0xffff) (0 :: Word16) skb        else checksum) -- FIXME: be saner-putSKAddendum _ = fail "Type not supported"+putSKAddendum _ = error "Type not supported"  symEncBlockSize :: SymmetricAlgorithm -> Int symEncBlockSize Plaintext = 0
hOpenPGP.cabal view
@@ -1,5 +1,5 @@ Name:                hOpenPGP-Version:             2.9+Version:             2.9.1 Synopsis:            native Haskell implementation of OpenPGP (RFC4880) Description:         native Haskell implementation of OpenPGP (RFC4880), plus Camellia (RFC5581), plus ECC (RFC6637) Homepage:            https://salsa.debian.org/clint/hOpenPGP@@ -7,7 +7,7 @@ License-file:        LICENSE Author:              Clint Adams Maintainer:          Clint Adams <clint@debian.org>-Copyright:           2012-2019  Clint Adams+Copyright:           2012-2020  Clint Adams Category:            Codec, Data Build-type:          Simple Extra-source-files: tests/suite.hs@@ -343,4 +343,4 @@ source-repository this   type:     git   location: https://salsa.debian.org/clint/hOpenPGP.git-  tag:      v2.9+  tag:      v2.9.1