Fixed Issue #35
This commit is contained in:
parent
e6be595c16
commit
9c3f0b0142
@ -308,7 +308,7 @@ public class Whirlpool extends UnsaltedMethod {
|
|||||||
if (bufferRem + sourceBits < 8) {
|
if (bufferRem + sourceBits < 8) {
|
||||||
// all remaining data fits on buffer[bufferPos], and there still
|
// all remaining data fits on buffer[bufferPos], and there still
|
||||||
// remains some space.
|
// remains some space.
|
||||||
bufferBits += sourceBits;
|
bufferBits += (int) sourceBits;
|
||||||
} else {
|
} else {
|
||||||
// buffer[bufferPos] is full:
|
// buffer[bufferPos] is full:
|
||||||
bufferPos++;
|
bufferPos++;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user