Fixed argument check in <tls_disconnect>
This commit is contained in:
parent
31ffb498f8
commit
6f43252c9a
@ -360,6 +360,9 @@ BOOL tls_accept(rdpTls* tls, const char* cert_file, const char* privatekey_file)
|
||||
|
||||
BOOL tls_disconnect(rdpTls* tls)
|
||||
{
|
||||
if (!tls)
|
||||
return FALSE;
|
||||
|
||||
if (tls->ssl)
|
||||
SSL_shutdown(tls->ssl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user