diff options
Diffstat (limited to 'apps/encryption/lib/crypto/crypt.php')
-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 91f986611be..c026aa6a90a 100644 --- a/apps/encryption/lib/crypto/crypt.php +++ b/apps/encryption/lib/crypto/crypt.php @@ -245,7 +245,7 @@ class Crypt { if (!empty($header)) { $privateKey = substr($privateKey, strpos($privateKey, - self::HEADER_END) + strlen(self::HEADER_START)); + self::HEADER_END) + strlen(self::HEADER_END)); } $plainKey = $this->symmetricDecryptFileContent($privateKey, |