mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-03 18:18:05 +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,
|
||||
BaseCurve $curve,
|
||||
array $publicKey,
|
||||
$password,
|
||||
string $secret,
|
||||
$password,
|
||||
array $options = []
|
||||
): string {
|
||||
if ($curve instanceof Ed25519) {
|
||||
|
@ -218,7 +218,7 @@ class PrivateKey extends EC implements Common\PrivateKey
|
||||
{
|
||||
$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