mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-04 18:48:24 +01:00
change secret position after rebase
This commit is contained in:
parent
5411695c0b
commit
dd86bd9fbd
@ -176,8 +176,8 @@ abstract class OpenSSH extends Progenitor
|
|||||||
BigInteger $privateKey,
|
BigInteger $privateKey,
|
||||||
BaseCurve $curve,
|
BaseCurve $curve,
|
||||||
array $publicKey,
|
array $publicKey,
|
||||||
$password,
|
|
||||||
string $secret,
|
string $secret,
|
||||||
|
$password,
|
||||||
array $options = []
|
array $options = []
|
||||||
): string {
|
): string {
|
||||||
if ($curve instanceof Ed25519) {
|
if ($curve instanceof Ed25519) {
|
||||||
|
@ -218,7 +218,7 @@ class PrivateKey extends EC implements Common\PrivateKey
|
|||||||
{
|
{
|
||||||
$type = self::validatePlugin('Keys', $type, 'savePrivateKey');
|
$type = self::validatePlugin('Keys', $type, 'savePrivateKey');
|
||||||
|
|
||||||
return $type::savePrivateKey($this->dA, $this->curve, $this->QA, $this->password, $this->secret, $options);
|
return $type::savePrivateKey($this->dA, $this->curve, $this->QA, $this->secret, $this->password, $options);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user