summaryrefslogtreecommitdiff
path: root/lib/Transforms.hs
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-07-01 14:26:49 -0400
committerAndrew Cady <d@jerkface.net>2019-07-01 14:26:49 -0400
commitd35abcac585348a6a20680cdc7915d8d99626b6e (patch)
treef13faeeaa47bc9f27c10590097866629a2e879fb /lib/Transforms.hs
parentf5883129b2fe368c4c3735caa37ebeafc50786f9 (diff)
remove reundant imports
Diffstat (limited to 'lib/Transforms.hs')
-rw-r--r--lib/Transforms.hs9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Transforms.hs b/lib/Transforms.hs
index c83f427..664cf86 100644
--- a/lib/Transforms.hs
+++ b/lib/Transforms.hs
@@ -39,16 +39,15 @@ import qualified Crypto.Types.PubKey.ECC as ECC
39#else 39#else
40import qualified Crypto.Hash as Vincent 40import qualified Crypto.Hash as Vincent
41import Data.ByteArray (convert) 41import Data.ByteArray (convert)
42import qualified Crypto.PubKey.ECC.Types as ECC
43#endif 42#endif
44import Data.ASN1.BinaryEncoding ( DER(..) ) 43import Data.ASN1.BinaryEncoding ( DER(..) )
45import Data.ASN1.Types ( toASN1, ASN1Object, fromASN1 44import Data.ASN1.Types (toASN1, ASN1Object, fromASN1, ASN1(Start, End, IntVal), ASN1ConstructionType(Sequence) )
46 , ASN1(Start,End,IntVal,OID,BitString,Null), ASN1ConstructionType(Sequence) ) 45
47import Data.ASN1.Encoding ( encodeASN1, encodeASN1', decodeASN1, decodeASN1' ) 46import Data.ASN1.Encoding ( encodeASN1 )
48import qualified Data.Text as T ( Text, unpack, pack, 47import qualified Data.Text as T ( Text, unpack, pack,
49 strip, reverse, drop, break, dropAround, length ) 48 strip, reverse, drop, break, dropAround, length )
50import Data.Text.Encoding ( encodeUtf8 ) 49import Data.Text.Encoding ( encodeUtf8 )
51import Data.Bits ( (.|.), (.&.), Bits, shiftR ) 50import Data.Bits ((.|.), (.&.), Bits)
52 51
53type TrustMap = Map.Map FilePath Packet 52type TrustMap = Map.Map FilePath Packet
54type SigAndTrust = ( MappedPacket 53type SigAndTrust = ( MappedPacket