From 7f1c861c1adea00bd98ecb9f3828bb475f6f3208 Mon Sep 17 00:00:00 2001 From: Jim Wigginton Date: Mon, 14 May 2012 18:20:11 +0000 Subject: [PATCH] - $this->mcrypt was removed in a commit from yesterday git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@222 21d32557-59b3-4da0-833f-c5933fad653e --- phpseclib/Crypt/RC4.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Crypt/RC4.php b/phpseclib/Crypt/RC4.php index 0eb1c2b5..75071d9f 100644 --- a/phpseclib/Crypt/RC4.php +++ b/phpseclib/Crypt/RC4.php @@ -353,7 +353,7 @@ class Crypt_RC4 { $keyStream = $mode == CRYPT_RC4_ENCRYPT ? 'encryptStream' : 'decryptStream'; if ($this->$keyStream === false) { - $this->$keyStream = mcrypt_module_open($this->mode, $this->mcrypt[0], MCRYPT_MODE_STREAM, $this->mcrypt[1]); + $this->$keyStream = mcrypt_module_open($this->mode, '', MCRYPT_MODE_STREAM, ''); mcrypt_generic_init($this->$keyStream, $this->key, ''); } else if (!$this->continuousBuffer) { mcrypt_generic_init($this->$keyStream, $this->key, '');