diff options
author | joe <joe@jerkface.net> | 2017-11-29 16:56:13 -0500 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-11-29 16:56:13 -0500 |
commit | c604eeb6046c27fefc6eefbf389f21c989a55929 (patch) | |
tree | 1934f8fb61ba61e86eb64f38171f64d866f50025 /Presence | |
parent | b116e11ef79e1b3f290e3c6994bfe52dd9ab27e5 (diff) |
Disabled curve 25519 backport for newer cryptonite library.
Diffstat (limited to 'Presence')
-rw-r--r-- | Presence/Presence.hs | 5 |
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) | |||
38 | import Data.XML.Types (Event) | 39 | import Data.XML.Types (Event) |
39 | import System.Posix.Types (UserID,CPid) | 40 | import System.Posix.Types (UserID,CPid) |
40 | import Control.Applicative | 41 | import Control.Applicative |
42 | #ifdef CRYPTONITE_BACKPORT | ||
41 | import Crypto.Error.Types (CryptoFailable (..)) | 43 | import Crypto.Error.Types (CryptoFailable (..)) |
44 | #else | ||
45 | import Crypto.Error | ||
46 | #endif | ||
42 | import Crypto.PubKey.Curve25519 (SecretKey,toPublic) | 47 | import Crypto.PubKey.Curve25519 (SecretKey,toPublic) |
43 | import Text.Read (readMaybe) | 48 | import Text.Read (readMaybe) |
44 | 49 | ||