summaryrefslogtreecommitdiff
path: root/Crypto.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-20 13:13:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-20 13:13:40 -0400
commit75b6ee81f9d9b921106c829380e30445415ec2f7 (patch)
tree7cb7f30a4fc97c099df0b0aeec0376a696577a0b /Crypto.hs
parent6d641f1ac0059fc03c06e582739a96198bb4d5ee (diff)
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.
Diffstat (limited to 'Crypto.hs')
-rw-r--r--Crypto.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Crypto.hs b/Crypto.hs
index 8941f7637..01322c403 100644
--- a/Crypto.hs
+++ b/Crypto.hs
@@ -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