tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit af39649aade3da87ac23ad62605e2273f92d9d47
parent 4bdba5fa4b42a22936c5b10146a8838e13135b51
Author: Nick Mathewson <nickm@torproject.org>
Date:   Fri, 14 Sep 2018 13:09:10 -0400

Explicitly ignore BIO_set_close() return val to fix #27711

Diffstat:
Msrc/lib/tls/tortls_openssl.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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); } }