summaryrefslogtreecommitdiff
path: root/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as
diff options
context:
space:
mode:
Diffstat (limited to 'flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as')
-rw-r--r--flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as1
1 files changed, 1 insertions, 0 deletions
diff --git a/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as b/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as
index 72f3941..1ae7cad 100644
--- a/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as
+++ b/flash-src/third-party/com/hurlant/crypto/tls/TLSEngine.as
@@ -715,6 +715,7 @@ package com.hurlant.crypto.tls {
rec.writeBytes(data, offset, 16384);
rec.position = 0;
sendRecord(PROTOCOL_APPLICATION_DATA, rec);
+ rec.length = 0;
offset += 16384;
len -= 16384;
}