]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Explicitly ignore BIO_set_close() return val to fix #27711
authorNick Mathewson <nickm@torproject.org>
Fri, 14 Sep 2018 17:09:10 +0000 (13:09 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 14 Sep 2018 17:09:10 +0000 (13:09 -0400)
src/lib/tls/tortls_openssl.c

index 534a90de5dec755207e771fdb4c80e21eb9e7adf..227225b96e5adb0c82a7adf1fa40fe8e64b0b254 100644 (file)
@@ -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);
   }
 }