1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-23 09:23:09 +02:00

MDL-67034 horde: php74 fix (curly braces) for the Horde lib

This commit is contained in:
Eloy Lafuente (stronk7) 2019-10-27 00:15:48 +02:00
parent d547735f2f
commit 6b83451251
2 changed files with 3 additions and 2 deletions
lib/horde
framework/Horde/Crypt/Blowfish/Php
readme_moodle.txt

@ -328,7 +328,7 @@ abstract class Horde_Crypt_Blowfish_Php_Base
for ($i = 0; $i < 18; ++$i) {
$data = 0;
for ($j = 4; $j > 0; --$j) {
$data = $data << 8 | ord($key{$k});
$data = $data << 8 | ord($key[$k]);
$k = ($k + 1) % $len;
}
$this->_P[$i] ^= $data;

@ -15,6 +15,7 @@ Description of import of Horde libraries
# Verify that these patches have been applied in the imported version. Apply them locally if not:
- https://github.com/horde/Mail/pull/1 (Mail component).
- https://github.com/horde/Imap_Client/pull/6 (IMAP Client component).
- https://github.com/horde/Crypt_Blowfish/pull/1 (PHP 7.4 compatibility, Crypt_Blowfish)
====
#!/bin/sh
@ -38,4 +39,4 @@ do
then
cp -Rf $locale/* $target/locale
fi
done
done