From 06f71cb3c961f4616363f7e5d9b6f4a8853ccc91 Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Fri, 17 Dec 2010 17:51:48 +0100 Subject: [PATCH] Fixed variable name typo --- class.db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class.db.php b/class.db.php index f630034..0664176 100644 --- a/class.db.php +++ b/class.db.php @@ -322,7 +322,7 @@ if (!class_exists('PWSdb')) { $cipher = mcrypt_module_open($this->alg, '', 'ecb', ''); $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); $enc = mcrypt_generic($cipher, $password); mcrypt_generic_deinit($cipher);