Skip to content

Commit

Permalink
fix jre issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sken committed May 14, 2020
1 parent 2aaa3fa commit 1bf44d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/scash/NativeBLAKE3.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ public byte[] getOutput(int outputLength) throws InvalidNativeOutput {
byte[] retByteArray = new byte[outputLength];
byteBuff.get(retByteArray);

nativeByteBuffer.set(byteBuff.clear());

checkOutput(retByteArray.length == outputLength, "Output size produced by lib doesnt match:" + retByteArray.length + " expected:" + outputLength);

return retByteArray;
Expand Down

0 comments on commit 1bf44d3

Please sign in to comment.