diff --git a/phpseclib/Math/BigInteger.php b/phpseclib/Math/BigInteger.php index c7d01d4c..fe1f43c5 100644 --- a/phpseclib/Math/BigInteger.php +++ b/phpseclib/Math/BigInteger.php @@ -1561,7 +1561,7 @@ class BigInteger $temp_value = array($quotient_value[$q_index]); $temp = $temp->multiply($y); $temp_value = &$temp->value; - if (!count($temp_value)) { + if (count($temp_value)) { $temp_value = array_merge($adjust, $temp_value); }