diff --git a/phpseclib/Math/BigInteger.php b/phpseclib/Math/BigInteger.php index c1e239cb..e818e8bb 100644 --- a/phpseclib/Math/BigInteger.php +++ b/phpseclib/Math/BigInteger.php @@ -413,7 +413,10 @@ class Math_BigInteger { break; case 10: case -10: - $x = preg_replace('#^(-?[0-9]*).*#', '$1', $x); + // (?