From: Björn Schießle Date: Mon, 27 May 2013 11:47:03 +0000 (+0200) Subject: legacyBlockDecryprt() needs to be public X-Git-Tag: v5.0.7~35^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=087b21c913d33bcf9447829c6a2a7378bdb0a8e5;p=nextcloud-server.git legacyBlockDecryprt() needs to be public --- 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 );