summaryrefslogtreecommitdiff
path: root/src/Network/Tox.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox.hs')
-rw-r--r--src/Network/Tox.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Network/Tox.hs b/src/Network/Tox.hs
index aa95df81..b3c4cedc 100644
--- a/src/Network/Tox.hs
+++ b/src/Network/Tox.hs
@@ -1,3 +1,4 @@
1{-# LANGUAGE CPP #-}
1{-# LANGUAGE DeriveDataTypeable #-} 2{-# LANGUAGE DeriveDataTypeable #-}
2{-# LANGUAGE DeriveFoldable #-} 3{-# LANGUAGE DeriveFoldable #-}
3{-# LANGUAGE DeriveFunctor #-} 4{-# LANGUAGE DeriveFunctor #-}
@@ -25,9 +26,14 @@ import Control.Monad.Fix
25import qualified Crypto.Cipher.ChaChaPoly1305 as Symmetric 26import qualified Crypto.Cipher.ChaChaPoly1305 as Symmetric
26import qualified Crypto.Cipher.Salsa as Salsa 27import qualified Crypto.Cipher.Salsa as Salsa
27import qualified Crypto.Cipher.XSalsa as XSalsa 28import qualified Crypto.Cipher.XSalsa as XSalsa
28import Crypto.ECC.Class
29import qualified Crypto.Error as Cryptonite 29import qualified Crypto.Error as Cryptonite
30#ifdef CRYPTONITE_BACKPORT
31import Crypto.ECC.Class
30import Crypto.Error.Types 32import Crypto.Error.Types
33#else
34import Crypto.ECC
35import Crypto.Error
36#endif
31import qualified Crypto.MAC.Poly1305 as Poly1305 37import qualified Crypto.MAC.Poly1305 as Poly1305
32import Crypto.PubKey.Curve25519 38import Crypto.PubKey.Curve25519
33import Crypto.PubKey.ECC.Types 39import Crypto.PubKey.ECC.Types