diff options
Diffstat (limited to 'lib/private/files/stream/encryption.php')
-rw-r--r-- | lib/private/files/stream/encryption.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index df74eeff893..e3927edff2c 100644 --- a/lib/private/files/stream/encryption.php +++ b/lib/private/files/stream/encryption.php @@ -271,7 +271,8 @@ class Encryption extends Wrapper { public function stream_write($data) { if ($this->position === 0) { - $this->size+=$this->writeHeader(); + $this->writeHeader(); + $this->size+=$this->util->getHeaderSize(); } $length = 0; |