From dad4a2e02c093cb4004573651a4b30a90d99b412 Mon Sep 17 00:00:00 2001 From: iadgovuser26 <33069955+iadgovuser26@users.noreply.github.com> Date: Tue, 2 Aug 2022 17:29:00 -0400 Subject: [PATCH] addessed checkstyle errors --- .../src/main/java/hirs/tpm/eventlog/TpmPcrEvent.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HIRS_Utils/src/main/java/hirs/tpm/eventlog/TpmPcrEvent.java b/HIRS_Utils/src/main/java/hirs/tpm/eventlog/TpmPcrEvent.java index 536b066f..64133db5 100644 --- a/HIRS_Utils/src/main/java/hirs/tpm/eventlog/TpmPcrEvent.java +++ b/HIRS_Utils/src/main/java/hirs/tpm/eventlog/TpmPcrEvent.java @@ -488,13 +488,13 @@ public class TpmPcrEvent { if (hashName.compareToIgnoreCase("TPM_ALG_SHA1") == 0) { // Digest description += "digest (SHA-1): " + Hex.encodeHexString(this.digest); } else if (hashName.compareToIgnoreCase("TPM_ALG_SHA256") == 0) { // Digest - description += "digest (SHA256): " + Hex.encodeHexString(this.digest); + description += "digest (SHA256): " + Hex.encodeHexString(this.digest); } else if (hashName.compareToIgnoreCase("TPM_ALG_SHA384") == 0) { // Digest - description += "digest (SHA384): " + Hex.encodeHexString(this.digest); + description += "digest (SHA384): " + Hex.encodeHexString(this.digest); } else if (hashName.compareToIgnoreCase("TPM_ALG_SHA512") == 0) { // Digest - description += "digest (SHA512): " + Hex.encodeHexString(this.digest); + description += "digest (SHA512): " + Hex.encodeHexString(this.digest); } else { - description += "Unsupported Hash Algorithm encoutered"; + description += "Unsupported Hash Algorithm encoutered"; } if (eventID != UefiConstants.SIZE_4) { description += "\n";