From c604eeb6046c27fefc6eefbf389f21c989a55929 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 29 Nov 2017 16:56:13 -0500 Subject: Disabled curve 25519 backport for newer cryptonite library. --- src/Network/Tox/NodeId.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Network/Tox/NodeId.hs') 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 import Control.Applicative import Control.Arrow import Control.Monad +#ifdef CRYPTONITE_BACKPORT import Crypto.Error.Types (CryptoFailable (..), throwCryptoError) +#else +import Crypto.Error +#endif + import Crypto.PubKey.Curve25519 import qualified Data.Aeson as JSON ;import Data.Aeson (FromJSON, ToJSON, (.=)) -- cgit v1.2.3