[tor-bugs] #27711 [Core Tor/Tor]: Hardened build fails in tortls_openssl.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 14 16:59:41 UTC 2018


#27711: Hardened build fails in tortls_openssl.c
------------------------------+--------------------------------
     Reporter:  rl1987        |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: unspecified
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 {{{
 src/lib/tls/tortls_openssl.c: In function ‘tor_tls_release_socket’:
 src/lib/tls/tortls_openssl.c:1172:5: error: value computed is not used
 [-Werror=unused-value]
      BIO_set_close(rbio, BIO_NOCLOSE);
      ^
 src/lib/tls/tortls_openssl.c:1175:5: error: value computed is not used
 [-Werror=unused-value]
      BIO_set_close(wbio, BIO_NOCLOSE);
      ^
 cc1: all warnings being treated as errors
 make: *** [src/lib/tls/src_lib_libtor_tls_a-tortls_openssl.o] Error 1
 }}}

 https://travis-ci.org/torproject/tor/jobs/428655734

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27711>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list