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:
Joey Hess 2012-06-20 13:13:40 -04:00
parent 6d641f1ac0
commit 75b6ee81f9
8 changed files with 10 additions and 10 deletions

View file

@ -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