diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-14 13:09:10 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-14 13:09:10 -0400 |
commit | af39649aade3da87ac23ad62605e2273f92d9d47 (patch) | |
tree | d73887be8d605eb09d9f75fe08e775215d4d5754 /src/lib/tls | |
parent | 4bdba5fa4b42a22936c5b10146a8838e13135b51 (diff) | |
download | tor-af39649aade3da87ac23ad62605e2273f92d9d47.tar.gz tor-af39649aade3da87ac23ad62605e2273f92d9d47.zip |
Explicitly ignore BIO_set_close() return val to fix #27711
Diffstat (limited to 'src/lib/tls')
-rw-r--r-- | src/lib/tls/tortls_openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |