mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-24 13:29:25 +00:00
Багфикс
This commit is contained in:
parent
d02fe5f60f
commit
aeec2c0d59
@ -36,9 +36,9 @@ public class HandshakeRecord implements TlsRecord {
|
|||||||
this.handshakeType = HandshakeType.getInstance(ByteArrays.getByte(rawData, HANDSHAKE_TYPE_OFFSET + offset));
|
this.handshakeType = HandshakeType.getInstance(ByteArrays.getByte(rawData, HANDSHAKE_TYPE_OFFSET + offset));
|
||||||
|
|
||||||
if (handshakeType == HandshakeType.ENCRYPTED_HANDSHAKE_MESSAGE) {
|
if (handshakeType == HandshakeType.ENCRYPTED_HANDSHAKE_MESSAGE) {
|
||||||
|
this.handshakeLength = length;
|
||||||
this.content = BasicRecordContent.newInstance(
|
this.content = BasicRecordContent.newInstance(
|
||||||
rawData, offset, handshakeLength);
|
rawData, offset, handshakeLength);
|
||||||
this.handshakeLength = length;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user