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:
Kevin Easton
2017-12-03 00:54:44 +11:00
parent 5d131bcf01
commit abc9dbdf9e
2 changed files with 14 additions and 13 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2.2]
* Fix memory leak when reconnecting to SSL servers. (caf)
* Add SSL version and cipher to SSL connect message. (caf)
* Add BITCHXRC_NAME to config.h. (caf)