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

This commit is contained in:
Eloy Lafuente (stronk7)
2019-11-20 13:16:49 +08:00
committed by Jake Dallimore
parent a2c6a69070
commit 93ed2a597c
2 changed files with 3 additions and 2 deletions
@@ -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;
+2 -1
View File
@@ -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