summaryrefslogtreecommitdiff
path: root/src/stransport_stream.c
Commit message (Collapse)AuthorAgeFilesLines
* SecureTransport: handle graceful closescmn/secure-transportCarlos Martín Nieto2015-04-231-2/+3
| | | | | On close, we might get a return code which looks like an error but just means that the other side closed gracefully. Handle that.
* SecureTransport: require TLS v1.xCarlos Martín Nieto2015-04-231-0/+2
| | | | | Anything SSL is deprecated. Let's make sure we don't try to use SSL v3 when talking to the server.
* SecureTransport: allow overriding a bad certificateCarlos Martín Nieto2015-04-231-14/+41
| | | | | | Do not automatically fail on a bad certificate, but let the caller decide. This means we don't need our switch on errors anymore but can return a string representation from the security framework.
* Add a SecureTransport TLS channelCarlos Martín Nieto2015-04-231-0/+219
As an alternative to OpenSSL when we're on OS X. This one can actually take advantage of stacking the streams.