From e7e30cd2399bff86b49a4ff3a4cd3df59af64084 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 7 Aug 2017 22:38:56 -0500 Subject: [PATCH] BigInteger: undo visibility changes --- phpseclib/Math/BigInteger/Engines/BCMath/Base.php | 2 +- phpseclib/Math/BigInteger/Engines/PHP/Base.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Math/BigInteger/Engines/BCMath/Base.php b/phpseclib/Math/BigInteger/Engines/BCMath/Base.php index 91efeb00..026cd86f 100644 --- a/phpseclib/Math/BigInteger/Engines/BCMath/Base.php +++ b/phpseclib/Math/BigInteger/Engines/BCMath/Base.php @@ -60,7 +60,7 @@ abstract class Base extends BCMath * @param string $class * @return \phpseclib\Math\BigInteger\Engines\BCMath */ - public static function powModHelper(BCMath $x, BCMath $e, BCMath $n, $class) + protected static function powModHelper(BCMath $x, BCMath $e, BCMath $n, $class) { if (empty($e->value)) { $temp = new $class(); diff --git a/phpseclib/Math/BigInteger/Engines/PHP/Base.php b/phpseclib/Math/BigInteger/Engines/PHP/Base.php index 3529906e..640d17c6 100644 --- a/phpseclib/Math/BigInteger/Engines/PHP/Base.php +++ b/phpseclib/Math/BigInteger/Engines/PHP/Base.php @@ -80,7 +80,7 @@ abstract class Base extends PHP * @param string $class * @return \phpseclib\Math\BigInteger\Engines\PHP */ - public static function powModHelper(PHP $x, PHP $e, PHP $n, $class) + protected static function powModHelper(PHP $x, PHP $e, PHP $n, $class) { if (empty($e->value)) { $temp = new $class();