summaryrefslogtreecommitdiff
path: root/src/Network/Tox/NodeId.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox/NodeId.hs')
-rw-r--r--src/Network/Tox/NodeId.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Network/Tox/NodeId.hs b/src/Network/Tox/NodeId.hs
index 0ffc3d22..fbf6702a 100644
--- a/src/Network/Tox/NodeId.hs
+++ b/src/Network/Tox/NodeId.hs
@@ -37,8 +37,13 @@ import Debug.Trace
37import Control.Applicative 37import Control.Applicative
38import Control.Arrow 38import Control.Arrow
39import Control.Monad 39import Control.Monad
40#ifdef CRYPTONITE_BACKPORT
40import Crypto.Error.Types (CryptoFailable (..), 41import Crypto.Error.Types (CryptoFailable (..),
41 throwCryptoError) 42 throwCryptoError)
43#else
44import Crypto.Error
45#endif
46
42import Crypto.PubKey.Curve25519 47import Crypto.PubKey.Curve25519
43import qualified Data.Aeson as JSON 48import qualified Data.Aeson as JSON
44 ;import Data.Aeson (FromJSON, ToJSON, (.=)) 49 ;import Data.Aeson (FromJSON, ToJSON, (.=))