Skip to content

Commit

Permalink
Merge pull request #317 from GSA/1116-issue314-asr-cjb
Browse files Browse the repository at this point in the history
Resolve Issue #314
  • Loading branch information
JBPayne007 authored Dec 13, 2023
2 parents e546e29 + 287c4b4 commit 62e8eba
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,9 @@ void sp800_76Test_28(String oid, TestReporter reporter) {

byte [] zeroBlock = { 0x00, 0x00 };

byte [] extendedDataBlockLength = Arrays.copyOfRange(biometricDataBlock, offset+numberOfMinutiae*6+3, offset+numberOfMinutiae*6+3+2);
// The line below was updated with code from Issue 314 submitted by baud001, ASR(as submitted or requested).
// After testing this fix resolved the issue.
byte [] extendedDataBlockLength = Arrays.copyOfRange(biometricDataBlock, offset+numberOfMinutiae*6+4, offset+numberOfMinutiae*6+4+2);

assertTrue(Arrays.equals(extendedDataBlockLength, zeroBlock), "Extended data block length is not 0");

Expand Down

0 comments on commit 62e8eba

Please sign in to comment.