From af39649aade3da87ac23ad62605e2273f92d9d47 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 14 Sep 2018 13:09:10 -0400 Subject: Explicitly ignore BIO_set_close() return val to fix #27711 --- src/lib/tls/tortls_openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/tls') 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); } } -- cgit v1.2.3-54-g00ecf