mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Explicitly ignore BIO_set_close() return val to fix #27711
This commit is contained in:
parent
4bdba5fa4b
commit
af39649aad
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user