summaryrefslogtreecommitdiff
path: root/DNSKey.hs
diff options
context:
space:
mode:
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-}