From f361a49a7492b7a3f8fcc353fae043d07de2e3b2 Mon Sep 17 00:00:00 2001 From: Cyrus <24922493+cyrus-dev@users.noreply.github.com> Date: Thu, 7 Jan 2021 13:40:40 -0500 Subject: [PATCH] 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.` --- .../ReferenceManifestDetailsPageController.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/ReferenceManifestDetailsPageController.java b/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/ReferenceManifestDetailsPageController.java index 17b8e7ee..8cc08c48 100644 --- a/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/ReferenceManifestDetailsPageController.java +++ b/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/ReferenceManifestDetailsPageController.java @@ -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")) { - forbiddenDbx = true; + if (contentStr.contains("dbx")) { + forbiddenDbx = true; + } else { + sigDb = true; + } } else if (contentStr.contains("Secure Boot is Enabled")) { secureBoot = true; }