hGetPeerCert ∷ h → IO (Maybe X509)
hGetPeerCert = const $ return Nothing
#endif
+ hIsSSL ∷ h → Bool
+ hIsSSL _ = False
hFlush ∷ h → IO ()
hClose ∷ h → IO ()
SSL.getPeerCertificate s
else
return Nothing
+ hIsSSL _ = True
hFlush _ = return () -- No need to do anything.
hClose s = SSL.shutdown s SSL.Bidirectional