Resovled the issue of the DBX variable not showing up under the correct category when present. The search for the DB variable also checks the DBX so it never actually hit the DBX if statement.`

This commit is contained in:
Cyrus 2021-01-07 13:40:40 -05:00
parent ab8d30ee82
commit f361a49a74

View File

@ -387,9 +387,11 @@ public class ReferenceManifestDetailsPageController
} else if (contentStr.contains("variable named KEK")) {
kek = true;
} else if (contentStr.contains("variable named db")) {
sigDb = true;
} else if (contentStr.contains("variable named dbx")) {
if (contentStr.contains("dbx")) {
forbiddenDbx = true;
} else {
sigDb = true;
}
} else if (contentStr.contains("Secure Boot is Enabled")) {
secureBoot = true;
}