From f314f9795f2a5c43fc680cd6fee2beaf3e192239 Mon Sep 17 00:00:00 2001 From: Sokolovskyy Roman Date: Thu, 3 Aug 2017 09:20:05 +0200 Subject: [PATCH] Fixed methods visibility --- phpseclib/Math/BigInteger/Engines/PHP/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Math/BigInteger/Engines/PHP/Base.php b/phpseclib/Math/BigInteger/Engines/PHP/Base.php index 640d17c6..3529906e 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 */ - protected static function powModHelper(PHP $x, PHP $e, PHP $n, $class) + public static function powModHelper(PHP $x, PHP $e, PHP $n, $class) { if (empty($e->value)) { $temp = new $class();