Skip to content

Commit

Permalink
Issue #6072 - changes from review
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Sep 10, 2021
1 parent ecc0bee commit 9d7160d
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -743,7 +743,7 @@ else if (_decryptedInput == null)
case BUFFER_UNDERFLOW:
// Continue if we can compact?
if (BufferUtil.compact(_encryptedInput))
continue;
break decryption; // to cause fill again.

// Are we out of space?
if (BufferUtil.space(_encryptedInput) == 0)
Expand All @@ -753,6 +753,7 @@ else if (_decryptedInput == null)
}

_underFlown = true;
// Fall through to OK case.
case OK:
{
if (unwrapHandshakeStatus == HandshakeStatus.FINISHED)
Expand Down

0 comments on commit 9d7160d

Please sign in to comment.