Opened 2 months ago

Closed 2 months ago

#27711 closed defect (fixed)

Hardened build fails in tortls_openssl.c

Reported by: rl1987 Owned by: nickm
Priority: Medium Milestone: Tor: 0.3.5.x-final
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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

Child Tickets

Change History (2)

comment:1 Changed 2 months ago by nickm

Owner: set to nickm
Status: newaccepted

thanks; fixing!

comment:2 Changed 2 months ago by nickm

Resolution: fixed
Status: acceptedclosed

Fixed with af39649aade3da87ac23ad62605e2273f92d9d47

Note: See TracTickets for help on using tickets.