We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6b8406 commit 5cf3d75Copy full SHA for 5cf3d75
1 file changed
src/java/com/wolfssl/provider/jsse/WolfSSLEngine.java
@@ -498,8 +498,10 @@ private int CopyOutPacket(ByteBuffer out) {
498
499
if (sendSz != this.internalIOSendBufOffset) {
500
System.arraycopy(this.internalIOSendBuf, sendSz,
501
- this.internalIOSendBuf, 0,
502
- this.internalIOSendBufOffset - sendSz);
+ this.internalIOSendBuf, 0,
+ this.internalIOSendBufOffset - sendSz);
503
+ this.internalIOSendBufOffset =
504
+ this.internalIOSendBufOffset - sendSz;
505
}
506
else {
507
/* reset internalIOSendBufOffset to zero, no data left */
0 commit comments