Bug 627 - util/net_help.c:672: bad test ?
util/net_help.c:672: bad test ?
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
unspecified
x86_64 Linux
: P5 normal
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-16 19:56 CET by dcb314
Modified: 2014-11-17 09:09 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcb314 2014-11-16 19:56:41 CET
util/net_help.c:672:59: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]

       if(!SSL_CTX_load_verify_locations(ctx, verifypem, NULL) != 1) {
Comment 1 Wouter Wijngaards 2014-11-17 09:09:49 CET
Hi Dcb314,

That is wrong, and I have fixed the bug!  Thank you for the report (I guess a new compiler version gives much nicer warnings!)

Best regards, Wouter