diff options
Diffstat (limited to 'common/ssl_calls.c')
-rw-r--r-- | common/ssl_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ssl_calls.c b/common/ssl_calls.c index 72e2184e..0362f668 100644 --- a/common/ssl_calls.c +++ b/common/ssl_calls.c @@ -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) |