x509-validation 1.4.2 → 1.4.3
raw patch · 3 files changed
+4/−4 lines, 3 files
Files
Data/X509/Validation.hs view
@@ -80,14 +80,14 @@ } deriving (Show,Eq) -- | Default checks to perform-defaultChecks :: String -- ^ fully qualified host name that we need to match in the certificate+defaultChecks :: Maybe String -- ^ fully qualified host name that we need to match in the certificate -> Checks defaultChecks fqhn = Checks { checkTimeValidity = True , checkStrictOrdering = False , checkCAConstraints = True , checkExhaustive = False- , checkFQHN = Just fqhn+ , checkFQHN = fqhn } -- | validate a certificate chain.
Data/X509/Validation/Signature.hs view
@@ -65,7 +65,6 @@ else SignatureFailed | otherwise = SignaturePubkeyMismatch where- verifyF (PubKeyRSA key) = Just $ RSA.verify (toDescr hashALG) key verifyF (PubKeyDSA key) | hashALG == HashSHA1 = Just $ \a b -> case dsaToSignature a of
x509-validation.cabal view
@@ -1,5 +1,5 @@ Name: x509-validation-Version: 1.4.2+Version: 1.4.3 Description: X.509 Certificate and CRL validation License: BSD3 License-file: LICENSE@@ -38,3 +38,4 @@ source-repository head type: git location: git://github.com/vincenthz/hs-certificate+ subdir: x509-validation