Commit 146a96de82aebeca5e9b5bfe7fc69456f2bf2d0e

Carlos Martín Nieto 2015-09-30T09:41:25

openssl: don't try to teardown an unconnected SSL context SSL_shutdown() does not like it when we pass an unitialized ssl context to it. This means that when we fail to connect to a host, we hide the error message saying so with OpenSSL's indecipherable error message.