mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-05 13:28:27 +00:00
RSA/OpenSSH: savePublicKey() method should have been static
This commit is contained in:
parent
a3000aac28
commit
7dffbfde04
@ -106,7 +106,7 @@ class OpenSSH
|
||||
* @param \phpseclib\Math\BigInteger $e
|
||||
* @return string
|
||||
*/
|
||||
function savePublicKey(BigInteger $n, BigInteger $e)
|
||||
static function savePublicKey(BigInteger $n, BigInteger $e)
|
||||
{
|
||||
$publicExponent = $e->toBytes(true);
|
||||
$modulus = $n->toBytes(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user