mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
fix from Shain Tancheff
This commit is contained in:
parent
61482e0a19
commit
b2b8bd3512
@ -100,6 +100,7 @@
|
||||
|
||||
/* Hack IV to be the correct size */
|
||||
$x = strlen($iv);
|
||||
$this->iv = '';
|
||||
for($i = 0; $i < $ivsize; $i++)
|
||||
{
|
||||
$this->iv .= $iv[$i % $x];
|
||||
@ -107,7 +108,7 @@
|
||||
|
||||
/* Hack Key to be the correct size */
|
||||
$x = strlen($key);
|
||||
|
||||
$this->key = '';
|
||||
for($i = 0; $i < $keysize; $i++)
|
||||
{
|
||||
$this->key .= $key[$i % $x];
|
||||
|
Loading…
Reference in New Issue
Block a user