Shutdown SSL on close.

This commit is contained in:
Jan Vidar Krey
2010-09-01 23:57:55 +02:00
parent 474e2be308
commit a79fcd796e
2 changed files with 4 additions and 0 deletions

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);