mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
This commit is contained in:
@@ -1439,9 +1439,11 @@ dns_update_signaturesinc(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db,
|
||||
* and one doesn't.
|
||||
*/
|
||||
state->check_ksk =
|
||||
(dns_zone_getoptions(zone) & DNS_ZONEOPT_UPDATECHECKKSK);
|
||||
((dns_zone_getoptions(zone) &
|
||||
DNS_ZONEOPT_UPDATECHECKKSK) != 0);
|
||||
state->keyset_kskonly =
|
||||
(dns_zone_getoptions(zone) & DNS_ZONEOPT_DNSKEYKSKONLY);
|
||||
((dns_zone_getoptions(zone) &
|
||||
DNS_ZONEOPT_DNSKEYKSKONLY) != 0);
|
||||
|
||||
/*
|
||||
* Get the NSEC/NSEC3 TTL from the SOA MINIMUM field.
|
||||
|
Reference in New Issue
Block a user