Skip to content

Commit

Permalink
Fix defaultCheckCerts
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Jan 17, 2012
1 parent f911d68 commit 51ce7af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion http-conduit.cabal
@@ -1,5 +1,5 @@
name: http-conduit
version: 1.1.2.1
version: 1.1.2.2
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
Expand Down

0 comments on commit 51ce7af

Please sign in to comment.