openssl.c
17.4 KB
-
openssl: only say we're connected if the connection succeeded · 03994912
ssl_close uses this boolean to know if SSL_shutdown should be called. It turns out OpenSSL auto-shutdowns on failure, so if the call to SSL_connect fails, it will complain about "shutdown while in init", trampling the original error.
Etienne Samson committed