haskell-tls / hs-certificate

Certificate and Key Reader/Writer in haskell
60 stars 57 forks source link

Fix build for GHC 7.6 #9

Closed joeyadams closed 12 years ago

joeyadams commented 12 years ago

This fixes a couple build issues in System.Certificate.X509.Unix , so certificate can be built under GHC 7.6.

In base 4.6, Prelude no longer exports catch.

Also, remove redundant import Control.Monad. Apparently, prior versions of GHC (7.4 and earlier) missed this. This change does not break the build on GHC 7.0.3 or 7.4.2 .

vincenthz commented 12 years ago

Thanks @joeyadams !