hs-tls/Network
Vincent Hanquez c846d9a360 Switch handshake to exception instead of returning a bool.
Bool return value doesn't provide any information on why the handshake failed,
hence remove the Bool value, and return (), and in case of handshake failure,
raise a HandshakeFailed exception with the TLSError associated with it.
2012-01-18 06:29:29 +00:00
..
TLS Switch handshake to exception instead of returning a bool. 2012-01-18 06:29:29 +00:00
TLS.hs split context structure and accessor out of Core. 2011-12-06 00:15:00 +00:00