avoid ByteString.Char8 where not needed
Its truncation behavior is a red flag, so avoid using it in these places where only raw ByteStrings are used, without looking at the data inside.
This commit is contained in:
parent
6d641f1ac0
commit
75b6ee81f9
8 changed files with 10 additions and 10 deletions
|
@ -26,7 +26,7 @@ module Crypto (
|
|||
prop_hmacWithCipher_sane
|
||||
) where
|
||||
|
||||
import qualified Data.ByteString.Lazy.Char8 as L
|
||||
import qualified Data.ByteString.Lazy as L
|
||||
import Data.ByteString.Lazy.UTF8 (fromString)
|
||||
import Data.Digest.Pure.SHA
|
||||
import Control.Applicative
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue