mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-15 19:16:55 +00: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
|
* @param string $class
|
||||||
* @return \phpseclib\Math\BigInteger\Engines\BCMath
|
* @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)) {
|
if (empty($e->value)) {
|
||||||
$temp = new $class();
|
$temp = new $class();
|
||||||
|
@ -80,7 +80,7 @@ abstract class Base extends PHP
|
|||||||
* @param string $class
|
* @param string $class
|
||||||
* @return \phpseclib\Math\BigInteger\Engines\PHP
|
* @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)) {
|
if (empty($e->value)) {
|
||||||
$temp = new $class();
|
$temp = new $class();
|
||||||
|
Loading…
Reference in New Issue
Block a user