Fixed variable name typo

This commit is contained in:
Gergely Polonkai (W00d5t0ck) 2010-12-17 17:51:48 +01:00
parent f527d8657d
commit 06f71cb3c9

View File

@ -322,7 +322,7 @@ if (!class_exists('PWSdb'))
{ {
$cipher = mcrypt_module_open($this->alg, '', 'ecb', ''); $cipher = mcrypt_module_open($this->alg, '', 'ecb', '');
$iv_size = mcrypt_get_iv_size($this->alg, $this->mode); $iv_size = mcrypt_get_iv_size($this->alg, $this->mode);
$iv = mcrypt_create_iv($this->iv_size, MCRYPT_DEV_URANDOM); $iv = mcrypt_create_iv($iv_size, MCRYPT_DEV_URANDOM);
mcrypt_generic_init($cipher, $this->key, $iv); mcrypt_generic_init($cipher, $this->key, $iv);
$enc = mcrypt_generic($cipher, $password); $enc = mcrypt_generic($cipher, $password);
mcrypt_generic_deinit($cipher); mcrypt_generic_deinit($cipher);