summaryrefslogtreecommitdiff
path: root/Presence
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 /Presence
parentb116e11ef79e1b3f290e3c6994bfe52dd9ab27e5 (diff)
Disabled curve 25519 backport for newer cryptonite library.
Diffstat (limited to 'Presence')
-rw-r--r--Presence/Presence.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Presence/Presence.hs b/Presence/Presence.hs
index ed1c5033..c556a170 100644
--- a/Presence/Presence.hs
+++ b/Presence/Presence.hs
@@ -1,3 +1,4 @@
1{-# LANGUAGE CPP #-}
1{-# LANGUAGE ExistentialQuantification #-} 2{-# LANGUAGE ExistentialQuantification #-}
2{-# LANGUAGE LambdaCase #-} 3{-# LANGUAGE LambdaCase #-}
3{-# LANGUAGE OverloadedStrings #-} 4{-# LANGUAGE OverloadedStrings #-}
@@ -38,7 +39,11 @@ import Data.Int (Int8)
38import Data.XML.Types (Event) 39import Data.XML.Types (Event)
39import System.Posix.Types (UserID,CPid) 40import System.Posix.Types (UserID,CPid)
40import Control.Applicative 41import Control.Applicative
42#ifdef CRYPTONITE_BACKPORT
41import Crypto.Error.Types (CryptoFailable (..)) 43import Crypto.Error.Types (CryptoFailable (..))
44#else
45import Crypto.Error
46#endif
42import Crypto.PubKey.Curve25519 (SecretKey,toPublic) 47import Crypto.PubKey.Curve25519 (SecretKey,toPublic)
43import Text.Read (readMaybe) 48import Text.Read (readMaybe)
44 49