mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-02 17:52:59 +01:00
BigInteger: undo visibility changes
This commit is contained in:
parent
ce5eb7e1c9
commit
e7e30cd239
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user