Artifacts Associated With Ticket fee1ffa1b6037cb1
Ticket change [47ac8f1513] (rid 3719) by anonymous on 2024-10-04 07:23:36:
- foundin initialized to: "1505883e4a from 2024-07-01"
- icomment:
Compiling tls.c on macoS (17.0/arm) yields the following warnings which I assume are errors: ``` /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:1769:18: warning: variable 'abort' set but not used [-Wunused-but-set-variable] 1769 | int off = 0, abort = 0; | ^ /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2222:11: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] 2222 | if (mode && SSL_VERIFY_FAIL_IF_NO_PEER_CERT) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2222:11: note: use '&' for a bitwise operation 2222 | if (mode && SSL_VERIFY_FAIL_IF_NO_PEER_CERT) { | ^~ | & /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2222:11: note: remove constant to silence this warning 2222 | if (mode && SSL_VERIFY_FAIL_IF_NO_PEER_CERT) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2225:11: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] 2225 | if (mode && SSL_VERIFY_CLIENT_ONCE) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2225:11: note: use '&' for a bitwise operation 2225 | if (mode && SSL_VERIFY_CLIENT_ONCE) { | ^~ | & /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2225:11: note: remove constant to silence this warning 2225 | if (mode && SSL_VERIFY_CLIENT_ONCE) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2228:11: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] 2228 | if (mode && SSL_VERIFY_POST_HANDSHAKE) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2228:11: note: use '&' for a bitwise operation 2228 | if (mode && SSL_VERIFY_POST_HANDSHAKE) { | ^~ | & /opt/projects/prs/g481/src/tcltls-1505883e4a/generic/tls.c:2228:11: note: remove constant to silence this warning 2228 | if (mode && SSL_VERIFY_POST_HANDSHAKE) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. ``` Fix: Change the '&&' into '&' since the openssl function returns an int containing a bitmask. I am not converned about the unused variable `abort`. I applied this modificationlocally and everything seems to work correctly.
- login: "anonymous"
- mimetype: "text/x-markdown"
- private_contact initialized to: "720cbbf8ba21fd6982dfd8639b4ecf45d5cf11a3"
- severity initialized to: "Severe"
- status initialized to: "Open"
- title initialized to:
Error in mode checking in latest chckin 1505883e4a from 2024-07-01
- type initialized to: "Code Defect"
Ticket change [73f193cb73] (rid 3720) by anonymous on 2024-10-04 09:42:07:
- icomment: "Corrected typo in description."
- login: "anonymous"
- mimetype: "text/x-markdown"
- priority changed to: "Immediate"
- resolution changed to: "Open"
- title changed to:
Error in mode checking in latest checkin 1505883e4a from 2024-07-01
Ticket change [04f7923dd1] (rid 3801) by bohagan on 2024-10-28 03:04:17:
- icomment:
This should be corrected in [c747afd2002a4cbf]. Let me know if you agree.
- login: "bohagan"
- mimetype: "text/x-fossil-plain"
- status changed to: "Fixed"
- icomment:
Ticket change [d7b9f76ceb] (rid 3819) by bohagan on 2024-11-04 02:46:49:
- login: "bohagan"
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"