Багфикс

This commit is contained in:
serega6531
2020-04-20 20:10:01 +03:00
parent d02fe5f60f
commit aeec2c0d59

View File

@@ -36,9 +36,9 @@ public class HandshakeRecord implements TlsRecord {
this.handshakeType = HandshakeType.getInstance(ByteArrays.getByte(rawData, HANDSHAKE_TYPE_OFFSET + offset));
if (handshakeType == HandshakeType.ENCRYPTED_HANDSHAKE_MESSAGE) {
this.handshakeLength = length;
this.content = BasicRecordContent.newInstance(
rawData, offset, handshakeLength);
this.handshakeLength = length;
return;
}