Skip to content

Commit

Permalink
added missing close()
Browse files Browse the repository at this point in the history
  • Loading branch information
dghgit committed Jun 25, 2022
1 parent 316fa95 commit 4acb3d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ void addPreviousChains(ArchiveTimeStampSequence archiveTimeStampSequence)
OutputStream digOut = digCalc.getOutputStream();

digOut.write(archiveTimeStampSequence.getEncoded(ASN1Encoding.DER));
digOut.close();

this.previousChainHash = digCalc.getDigest();
}
Expand Down

0 comments on commit 4acb3d9

Please sign in to comment.