Opened 2 years ago

Closed 2 years 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:


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

Child Tickets

Change History (2)

comment:1 Changed 2 years ago by nickm

Owner: set to nickm
Status: newaccepted

thanks; fixing!

comment:2 Changed 2 years ago by nickm

Resolution: fixed
Status: acceptedclosed

Fixed with af39649aade3da87ac23ad62605e2273f92d9d47

Note: See TracTickets for help on using tickets.