diff options
author | Björn Schießle <bjoern@schiessle.org> | 2016-01-05 16:55:58 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-02-09 23:43:25 +0100 |
commit | 61dd191253fb3bead23143a503c9d25780f2e63d (patch) | |
tree | 28fa5b882f445a67a5151bcf2b4ce493679ee952 /apps/encryption/lib | |
parent | e7ff84df5cac2a7917360c316f817f754ce8e5a4 (diff) | |
download | nextcloud-server-61dd191253fb3bead23143a503c9d25780f2e63d.tar.gz nextcloud-server-61dd191253fb3bead23143a503c9d25780f2e63d.zip |
meta data are at the end of the file
Diffstat (limited to 'apps/encryption/lib')
-rw-r--r-- | apps/encryption/lib/crypto/crypt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/crypto/crypt.php b/apps/encryption/lib/crypto/crypt.php index e935f364551..e071819b163 100644 --- a/apps/encryption/lib/crypto/crypt.php +++ b/apps/encryption/lib/crypto/crypt.php @@ -536,7 +536,7 @@ class Crypt { * @throws HintException */ private function hasSignature($catFile, $cipher) { - $meta = substr($catFile, 93); + $meta = substr($catFile, -93); $signaturePosition = strpos($meta, '00sig00'); // enforce signature for the new 'CTR' ciphers |