From dadaaf791ee4f497246368b355bf1414b24f908e Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Thu, 6 Jun 2013 17:08:02 +0200 Subject: [PATCH] Remove unused variable $generator from Math_BigInteger::random(). --- phpseclib/Math/BigInteger.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/phpseclib/Math/BigInteger.php b/phpseclib/Math/BigInteger.php index f7532edf..2366bae9 100644 --- a/phpseclib/Math/BigInteger.php +++ b/phpseclib/Math/BigInteger.php @@ -3057,8 +3057,6 @@ class Math_BigInteger { $min = $temp; } - $generator = $this->generator; - $max = $max->subtract($min); $max = ltrim($max->toBytes(), chr(0)); $size = strlen($max) - 1;