RSA/OpenSSH: savePublicKey() method should have been static

This commit is contained in:
terrafrost 2016-04-10 10:18:15 -05:00
parent a3000aac28
commit 7dffbfde04

View File

@ -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);