summaryrefslogtreecommitdiff
path: root/src/Network/Tox.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-11-29 16:56:13 -0500
committerjoe <joe@jerkface.net>2017-11-29 16:56:13 -0500
commitc604eeb6046c27fefc6eefbf389f21c989a55929 (patch)
tree1934f8fb61ba61e86eb64f38171f64d866f50025 /src/Network/Tox.hs
parentb116e11ef79e1b3f290e3c6994bfe52dd9ab27e5 (diff)
Disabled curve 25519 backport for newer cryptonite library.
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