Shutdown SSL on close.

This commit is contained in:
Jan Vidar Krey
2011-08-16 12:07:17 +02:00
parent 474e2be308
commit a79fcd796e
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -181,7 +181,10 @@ void net_con_close(struct net_connection* con)
#ifdef SSL_SUPPORT
if (con->ssl)
{
SSL_shutdown(con->ssl);
SSL_clear(con->ssl);
}
#endif
net_close(con->sd);