aboutsummaryrefslogtreecommitdiff
path: root/src/lib/tls
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls')
-rw-r--r--src/lib/tls/tortls_openssl.c4
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);
}
}