diff --git a/src/lib/tls/tortls_openssl.c b/src/lib/tls/tortls_openssl.c index 534a90de5d..227225b96e 100644 --- a/src/lib/tls/tortls_openssl.c +++ b/src/lib/tls/tortls_openssl.c @@ -1169,10 +1169,10 @@ tor_tls_release_socket(tor_tls_t *tls) wbio = SSL_get_wbio(tls->ssl); if (rbio) { - BIO_set_close(rbio, BIO_NOCLOSE); + (void) BIO_set_close(rbio, BIO_NOCLOSE); } if (wbio && wbio != rbio) { - BIO_set_close(wbio, BIO_NOCLOSE); + (void) BIO_set_close(wbio, BIO_NOCLOSE); } }