Forward indeterminate status higher

Create a path where it can result in insecure.
This commit is contained in:
Petr Mensik
2022-04-08 16:26:50 +02:00
parent 6cfcf21451
commit 33c8baaaba
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -457,7 +457,7 @@ verify_dnskeys_with_ds_rr(struct module_env* env, struct val_env* ve,
}
/* If it didn't validate with the DNSKEY, try the next one! */
}
if(numsizesupp != 0) {
if(numsizesupp != 0 || sec == sec_status_indeterminate) {
/* there is a working DS, but that DNSKEY is not supported */
return sec_status_insecure;
}