Fix mediatag...

This commit is contained in:
yflory
2018-06-11 15:06:43 +02:00
parent 054ad9e741
commit aeaf7d1950
3 changed files with 5 additions and 5 deletions

View File

@@ -211,7 +211,7 @@
if (e) { return setTimeout(function () { done(e); }); }
if (plaintext) {
if (i * cypherChunkLength < u8.length) { // not done
if ((i * cypherChunkLength + 2 + metadataLength) < u8.length) { // not done
chunks.push(plaintext);
return again();
}