-
Jasper Wallace authored
Return SSL_FATAL, not SOCKET_ERROR so that connecting fails with a host we can't verify. Also return an error for OpenSSL internal errors. Free peername to avoid a memory leak. Signed-off-by:
Jasper Wallace <jasper@arcolaenergy.com>