legacyBlockDecryprt() needs to be public

This commit is contained in:
Björn Schießle 2013-05-27 13:47:03 +02:00
parent df22a7c495
commit 4c05259ccf
1 changed files with 1 additions and 1 deletions

View File

@ -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 );