summaryrefslogtreecommitdiff
path: root/PEM.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-08-01 02:12:33 -0400
committerjoe <joe@jerkface.net>2014-08-01 02:12:33 -0400
commit74aa6b1afadb82a47ea64aa2233cf4c622e6fa6d (patch)
tree91e05c5b9cc81673881726abe8e3491615bdd273 /PEM.hs
parent9185878112baa1a036e53e2828a3f28b2a96bd7d (diff)
Fixed PEM public key output to match keys i see in /etc/ipsec.d/certs/*
Diffstat (limited to 'PEM.hs')
-rw-r--r--PEM.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/PEM.hs b/PEM.hs
index f969484..e07b3d4 100644
--- a/PEM.hs
+++ b/PEM.hs
@@ -12,6 +12,7 @@ import ScanningParser
12data PEMBlob = PEMBlob { pemType :: L.ByteString 12data PEMBlob = PEMBlob { pemType :: L.ByteString
13 , pemBlob :: L.ByteString 13 , pemBlob :: L.ByteString
14 } 14 }
15 deriving (Eq,Show)
15 16
16pemParser mtyp = ScanningParser (maybe fndany fndtyp mtyp) pbdy 17pemParser mtyp = ScanningParser (maybe fndany fndtyp mtyp) pbdy
17 where 18 where