Bug 627

Summary: util/net_help.c:672: bad test ?
Product: unbound Reporter: dcb314
Component: serverAssignee: unbound team <unbound-team>
Severity: normal CC: wouter
Priority: P5    
Version: unspecified   
Hardware: x86_64   
OS: Linux   

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