Use SSL_free() when closing an SSL server connection
This avoids leaking memory. Also change to always call SSL_shutdown() regardless of whether a QUIT message was sent. No need to call SSL_shutdown() from write_to_server(), close_server() will do it for us. Remove "Closing SSL connection" message.
This commit is contained in: