certificate 1.3.5 → 1.3.6
raw patch · 2 files changed
+7/−5 lines, 2 filesdep ~asn1-dataPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: asn1-data
API changes (from Hackage documentation)
Files
- Data/Certificate/X509/Ext.hs +5/−3
- certificate.cabal +2/−2
Data/Certificate/X509/Ext.hs view
@@ -28,6 +28,7 @@ import Data.ASN1.Stream import Data.ASN1.BitArray import Data.Certificate.X509.Internal+import Control.Monad.Error type ExtensionRaw = (OID, Bool, [ASN1]) @@ -110,9 +111,10 @@ extDecode l = runParseASN1 parse l where parse = do c <- getNextContainer Sequence- return $ ExtSubjectAltName $ map toStringy c- toStringy (Other Context 2 b) = BC.unpack b- toStringy b = error ("not coping with anything else " ++ show b)+ r <- sequence $ map toStringy c+ return $ ExtSubjectAltName r+ toStringy (Other Context 2 b) = return $ BC.unpack b+ toStringy b = throwError ("ExtSubjectAltName: not coping with anything else " ++ show b) data ExtAuthorityKeyId = ExtAuthorityKeyId B.ByteString deriving (Show,Eq)
certificate.cabal view
@@ -1,5 +1,5 @@ Name: certificate-Version: 1.3.5+Version: 1.3.6 Description: Certificates and Key reader/writer .@@ -30,7 +30,7 @@ , bytestring , mtl , pem >= 0.1 && < 0.2- , asn1-data >= 0.7.1+ , asn1-data >= 0.7.1 && < 0.8.0 , crypto-pubkey-types >= 0.2 && < 0.3 , cryptohash , containers