Fix critical typo in ZoneVerifier; more sonarlint

This commit is contained in:
2023-07-24 00:12:28 -04:00
parent 69a0a34239
commit 3601676406
7 changed files with 15 additions and 10 deletions

View File

@@ -262,7 +262,7 @@ public class DnsSecVerifier {
* @return true if the set verified, false if it did not.
*/
public boolean verify(RRset rrset) {
boolean result = mVerifyAllSigs ? true : false;
boolean result = mVerifyAllSigs;
if (rrset.sigs().isEmpty()) {
log.fine("RRset failed to verify due to lack of signatures");