From 77e19985124b91ee1c5169c9a2eee4eabc363528 Mon Sep 17 00:00:00 2001 From: Cyrus <24922493+cyrus-dev@users.noreply.github.com> Date: Tue, 23 May 2023 10:10:19 -0400 Subject: [PATCH] Do to hash conversions, the alphanumeric format of the component type comes out lowercase, modified equals clause to ignore case --- .../data/persist/certificate/attributes/ComponentClass.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HIRS_Utils/src/main/java/hirs/data/persist/certificate/attributes/ComponentClass.java b/HIRS_Utils/src/main/java/hirs/data/persist/certificate/attributes/ComponentClass.java index bc9f1e33..fffe8f55 100644 --- a/HIRS_Utils/src/main/java/hirs/data/persist/certificate/attributes/ComponentClass.java +++ b/HIRS_Utils/src/main/java/hirs/data/persist/certificate/attributes/ComponentClass.java @@ -252,7 +252,7 @@ public class ComponentClass { for (Member member : components) { typeID = verifyComponentValue(member.getName()); - if (component.equals(typeID)) { + if (component.equalsIgnoreCase(typeID)) { componentStr = member.getValue().asString(); } }