diff --git a/core/src/main/java/org/bouncycastle/crypto/digests/Kangaroo.java b/core/src/main/java/org/bouncycastle/crypto/digests/Kangaroo.java index a4033c5105..68a707a061 100644 --- a/core/src/main/java/org/bouncycastle/crypto/digests/Kangaroo.java +++ b/core/src/main/java/org/bouncycastle/crypto/digests/Kangaroo.java @@ -312,12 +312,6 @@ public int doFinal(final byte[] pOut, final int pOutOffset, final int pOutLen) { - /* Check that we are not already outputting */ - if (squeezing) - { - throw new IllegalStateException("Already outputting"); - } - /* Build the required output */ final int length = doOutput(pOut, pOutOffset, pOutLen);