diff options
-rw-r--r-- | lib/private/files/stream/encryption.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index 40cbc1c141a..62b2ad9d9af 100644 --- a/lib/private/files/stream/encryption.php +++ b/lib/private/files/stream/encryption.php @@ -270,6 +270,7 @@ class Encryption extends Wrapper { if ($this->position === 0) { $this->writeHeader(); + $this->size+=$this->util->getBlockSize(); } $length = 0; |