mirror of https://github.com/neutrinolabs/xrdp
common: if SSL_shutdown fails, only call one more time
This commit is contained in:
parent
75fd3fcf89
commit
2c96908ea5
|
@ -678,7 +678,7 @@ ssl_tls_disconnect(struct ssl_tls *self)
|
|||
return 0;
|
||||
}
|
||||
status = SSL_shutdown(self->ssl);
|
||||
while (status != 1)
|
||||
if (status != 1)
|
||||
{
|
||||
status = SSL_shutdown(self->ssl);
|
||||
if (status <= 0)
|
||||
|
|
Loading…
Reference in New Issue