summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-05-27 13:47:03 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-05-27 17:35:38 +0200
commit4c05259ccfbb7e2f0083794172eaa7c06f4b2592 (patch)
treeea8b1698555017de82ed2afcdcf82dfd38cd0d10 /apps/files_encryption/lib
parentdf22a7c4954acb67c9365f9900bd7a3f70f13487 (diff)
downloadnextcloud-server-4c05259ccfbb7e2f0083794172eaa7c06f4b2592.tar.gz
nextcloud-server-4c05259ccfbb7e2f0083794172eaa7c06f4b2592.zip
legacyBlockDecryprt() needs to be public
Diffstat (limited to 'apps/files_encryption/lib')
-rwxr-xr-xapps/files_encryption/lib/crypt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/crypt.php b/apps/files_encryption/lib/crypt.php
index 9345712a455..33f9fc2060d 100755
--- a/apps/files_encryption/lib/crypt.php
+++ b/apps/files_encryption/lib/crypt.php
@@ -623,7 +623,7 @@ class Crypt
* @param int $maxLength
* @return string
*/
- private static function legacyBlockDecrypt( $data, $key = '', $maxLength = 0 ) {
+ public static function legacyBlockDecrypt( $data, $key = '', $maxLength = 0 ) {
$result = '';
while ( strlen( $data ) ) {
$result .= self::legacyDecrypt( substr( $data, 0, 8192 ), $key );