1
0
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:
Jonny Fonsato 2022-07-28 16:56:00 +02:00
parent 5411695c0b
commit dd86bd9fbd
No known key found for this signature in database
GPG Key ID: 8786B03DB82F62DD
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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);
}
/**