summaryrefslogtreecommitdiff
path: root/Data/Digest/CRC24.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Data/Digest/CRC24.hs')
-rw-r--r--Data/Digest/CRC24.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Data/Digest/CRC24.hs b/Data/Digest/CRC24.hs
index e8eec92..4fbb9b1 100644
--- a/Data/Digest/CRC24.hs
+++ b/Data/Digest/CRC24.hs
@@ -1,5 +1,5 @@
1-- CRC24.hs: OpenPGP (RFC4880) CRC24 implementation 1-- CRC24.hs: OpenPGP (RFC4880) CRC24 implementation
2-- Copyright © 2012 Clint Adams 2-- Copyright © 2012-2019 Clint Adams
3-- This software is released under the terms of the ISC license. 3-- This software is released under the terms of the ISC license.
4-- (See the LICENSE file). 4-- (See the LICENSE file).
5 5
@@ -27,4 +27,4 @@ crc24 :: B.ByteString -> Word32
27crc24 bs = crc24Lazy . BL.fromChunks $ [bs] 27crc24 bs = crc24Lazy . BL.fromChunks $ [bs]
28 28
29crc24Lazy :: ByteString -> Word32 29crc24Lazy :: ByteString -> Word32
30crc24Lazy = BL.foldl crc24Update crc24Init 30crc24Lazy = BL.foldl' crc24Update crc24Init