]> source.dussan.org Git - nextcloud-server.git/commit
files_encryption: Fix getFileSize()
authorMarkus Goetz <markus@woboq.com>
Sat, 5 Oct 2013 16:00:46 +0000 (18:00 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 23 Oct 2013 14:28:43 +0000 (16:28 +0200)
commitaf58360434cdd6cb808d80d20fdbd293e1c57f0c
tree51d148edb457357e7ea18f9d2cdf8421662e080d
parent959b0f912559ae0c6751cb5c0d14a9be5b58f19b
files_encryption: Fix getFileSize()

For certain file sizes, we rounded to the wrong chunk number
and the returned bogus results. This should fix
https://github.com/owncloud/mirall/issues/1009

Conflicts:
apps/files_encryption/tests/util.php
apps/files_encryption/lib/util.php
apps/files_encryption/tests/util.php