Skip to content

Commit

Permalink
Fix 'defaultCheckCerts'.
Browse files Browse the repository at this point in the history
  • Loading branch information
meteficha committed Jan 17, 2012
1 parent 2dc430a commit 7c31525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Network/HTTP/Conduit/Request.hs
Expand Up @@ -165,7 +165,7 @@ defaultCheckCerts :: W.Ascii -> [X509] -> IO TLSCertificateUsage
defaultCheckCerts host' certs =
case certificateVerifyDomain (S8.unpack host') certs of
CertificateUsageAccept -> certificateVerifyChain certs
_ -> return CertificateUsageAccept
rejected -> return rejected

instance Default (Request m) where
def = Request
Expand Down

0 comments on commit 7c31525

Please sign in to comment.