asn1-data 0.6.1.1 → 0.6.1.2
raw patch · 3 files changed
+3/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/ASN1/Prim.hs +1/−1
- Tests.hs +1/−0
- asn1-data.cabal +1/−1
Data/ASN1/Prim.hs view
@@ -71,7 +71,7 @@ encodeUCS2BE :: Text -> L.ByteString encodeUCS2BE t =- L.pack $ concatMap (\c -> let (d,m) = (fromEnum c) `divMod` 256 in [fromIntegral m,fromIntegral d] ) $ T.unpack t+ L.pack $ concatMap (\c -> let (d,m) = (fromEnum c) `divMod` 256 in [fromIntegral d,fromIntegral m] ) $ T.unpack t decodeUCS2BE :: L.ByteString -> Text decodeUCS2BE lbs = T.pack $ loop lbs
Tests.hs view
@@ -151,6 +151,7 @@ , liftM GraphicString arbitrary , liftM VisibleString arbitrary , liftM GeneralString arbitrary+ , liftM BMPString arbitrary , liftM UniversalString arbitrary ]
asn1-data.cabal view
@@ -1,5 +1,5 @@ Name: asn1-data-Version: 0.6.1.1+Version: 0.6.1.2 Description: ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, CER and DER). .