From 083a66dfa3a1ebeff772f57636f1879f24d84da1 Mon Sep 17 00:00:00 2001 From: Clayton J Barnette <110616975+claytonjbarnette@users.noreply.github.com> Date: Fri, 17 Nov 2023 09:47:14 -0500 Subject: [PATCH] Update SP800_76_Tests.java Fixed spelling of "record" in assert messages. --- .../pivconformance/conformancelib/tests/SP800_76_Tests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conformancelib/src/main/java/gov/gsa/pivconformance/conformancelib/tests/SP800_76_Tests.java b/conformancelib/src/main/java/gov/gsa/pivconformance/conformancelib/tests/SP800_76_Tests.java index c4bb24f7..9e809d59 100644 --- a/conformancelib/src/main/java/gov/gsa/pivconformance/conformancelib/tests/SP800_76_Tests.java +++ b/conformancelib/src/main/java/gov/gsa/pivconformance/conformancelib/tests/SP800_76_Tests.java @@ -418,9 +418,9 @@ void sp800_76Test_11(String oid, TestReporter reporter) { int biometricDataBlockLength = (((recordLength[0] & 0xFF) << 8) | (recordLength[1] & 0xFF)); //BDB length must be between 26 and 1574 - assertTrue(biometricDataBlockLength >= 26 && biometricDataBlockLength <= 1574, "Fingerprint recod length is not 26 <= L <= 1574"); - //Confirm that the record length value is the same at the length of the leftover buffer - assertTrue(biometricDataBlockLength == biometricDataBlock.length, "Fingerprint recod length does not match leftover buffer length"); + assertTrue(biometricDataBlockLength >= 26 && biometricDataBlockLength <= 1574, "Fingerprint record length is not 26 <= L <= 1574"); + //Confirm that the record length value is the same as the length of the leftover buffer + assertTrue(biometricDataBlockLength == biometricDataBlock.length, "Fingerprint record length does not match leftover buffer length"); }