remove the haskell98 dependency and switch to the random package.

This commit is contained in:
Vincent Hanquez 2010-09-24 08:30:25 +01:00
parent 53287505d1
commit 2fd8087211
4 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ import Data.ByteString.Lazy (ByteString)
import Codec.Crypto.RSA (PublicKey(..), PrivateKey(..))
import qualified Codec.Crypto.RSA as RSA
import Control.Spoon
import Random
import System.Random
data HashCtx =
SHA1 !SHA1.Ctx

View file

@ -7,7 +7,7 @@ module Network.TLS.SRandom
, getRandomBytes
) where
import Random
import System.Random
import Control.Arrow (first)
import Data.Word

View file

@ -28,7 +28,7 @@ import Network.TLS.MAC
import qualified Network.TLS.Client as C
import qualified Network.TLS.Server as S
import Random
import System.Random
import qualified Codec.Crypto.AES.Random as AESRand
ciphers :: [Cipher]

View file

@ -32,7 +32,7 @@ Library
binary >= 0.5,
bytestring,
vector,
haskell98,
random,
AES, RSA, spoon,
cryptocipher,
certificate >= 0.2
@ -63,7 +63,7 @@ executable Tests
Main-is: Tests.hs
if flag(test)
Buildable: True
Build-Depends: base >= 3 && < 5, HUnit, QuickCheck >= 2 && < 2.3, bytestring, haskell98
Build-Depends: base >= 3 && < 5, HUnit, QuickCheck >= 2 && < 2.3, bytestring, random
else
Buildable: False