summaryrefslogtreecommitdiff
path: root/DNSKey.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2016-04-14 14:48:26 -0400
committerjoe <joe@jerkface.net>2016-04-14 14:48:26 -0400
commit13f3a96ae0a1417e15c9f969737c512ec71642f9 (patch)
tree2f5ce83fb1f4e18ce4a5020c62dbf449859912e0 /DNSKey.hs
parent71469bfd192b3be62b5c51aeeba37620785bda4b (diff)
Updated build.
Diffstat (limited to 'DNSKey.hs')
-rw-r--r--DNSKey.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/DNSKey.hs b/DNSKey.hs
index 38d336d..5c71c16 100644
--- a/DNSKey.hs
+++ b/DNSKey.hs
@@ -50,6 +50,7 @@ i2bs_unsized 0 = B.singleton 0
50i2bs_unsized i = B.reverse $ B.unfoldr (\i' -> if i' <= 0 then Nothing else Just (fromIntegral i', (i' `shiftR` 8))) i 50i2bs_unsized i = B.reverse $ B.unfoldr (\i' -> if i' <= 0 then Nothing else Just (fromIntegral i', (i' `shiftR` 8))) i
51{-# INLINE i2bs_unsized #-} 51{-# INLINE i2bs_unsized #-}
52 52
53{-
53main = do 54main = do
54 bs <- L.getContents 55 bs <- L.getContents
55 let rsa = runGet (getRSA (fromIntegral $ L.length bs)) bs 56 let rsa = runGet (getRSA (fromIntegral $ L.length bs)) bs
@@ -57,3 +58,4 @@ main = do
57 rsa' = runGet (getRSA (fromIntegral $ L.length bs)) bs' 58 rsa' = runGet (getRSA (fromIntegral $ L.length bs)) bs'
58 print rsa 59 print rsa
59 print rsa' 60 print rsa'
61-}