1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-15 02:17:04 +01:00

Merge branch '3.0'

This commit is contained in:
terrafrost 2020-01-19 08:06:38 -06:00
commit e1e5750f1f

View File

@ -4660,7 +4660,6 @@ class SSH2
->withSignatureFormat('SSH2'); ->withSignatureFormat('SSH2');
switch ($this->signature_format) { switch ($this->signature_format) {
case 'ssh-ed25519': case 'ssh-ed25519':
Strings::shift($signature, 4 + strlen('ssh-ed25519') + 4);
$hash = 'sha512'; $hash = 'sha512';
break; break;
case 'ecdsa-sha2-nistp256': case 'ecdsa-sha2-nistp256':