further fix
This commit is contained in:
parent
6eae9b0557
commit
abacea200d
@ -20,7 +20,6 @@ import Crypto.Internal.Memory
|
|||||||
import Data.Byteable
|
import Data.Byteable
|
||||||
import qualified Data.ByteString.Char8 as BC
|
import qualified Data.ByteString.Char8 as BC
|
||||||
import Crypto.Hash.Utils (toHex)
|
import Crypto.Hash.Utils (toHex)
|
||||||
import Data.Word
|
|
||||||
|
|
||||||
-- | Class representing hashing algorithms.
|
-- | Class representing hashing algorithms.
|
||||||
--
|
--
|
||||||
|
|||||||
@ -17,6 +17,9 @@ module Crypto.Internal.Compat
|
|||||||
import System.IO.Unsafe
|
import System.IO.Unsafe
|
||||||
#if MIN_VERSION_base(4,5,0)
|
#if MIN_VERSION_base(4,5,0)
|
||||||
import Data.Bits (popCount)
|
import Data.Bits (popCount)
|
||||||
|
#else
|
||||||
|
import Data.Word (Word64)
|
||||||
|
import Data.Bits (testBit, shiftR)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
-- | perform io for hashes that do allocation and ffi.
|
-- | perform io for hashes that do allocation and ffi.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user