Skip to content

Commit

Permalink
Finally found a fix for the StackOverFlow error
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-dev committed Jan 16, 2024
1 parent 331e0f5 commit 832bac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ private void parseSingle(final ASN1Primitive component, final boolean addToMappi

} else if (component instanceof ASN1TaggedObject) {
ASN1TaggedObject taggedObj = (ASN1TaggedObject) component;
parseSingle(taggedObj.getLoadedObject(), addToMapping, key);
parseSingle(taggedObj.getBaseObject().toASN1Primitive(), addToMapping, key);

} else if (component instanceof ASN1OctetString) {
// this may contain parseable data or may just be a OID key-pair value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ public final void testPlatformConfiguration3() throws IOException, URISyntaxExce
.equals("BIOS"));
Assertions.assertTrue(component.getComponentSerial()
.getString()
.equals(""));
.equals(ComponentIdentifier.EMPTY_COMPONENT));
Assertions.assertTrue(component.getComponentRevision()
.getString()
.equals("DNKBLi5v.86A.0019.2017.0804.1146"));
Expand Down

0 comments on commit 832bac4

Please sign in to comment.