mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 04:34:45 +01:00
SSH2: adjustments for 2.0 branch
This commit is contained in:
parent
b8bb23c9f1
commit
04f62f9e9c
@ -4589,7 +4589,7 @@ class SSH2
|
||||
default:
|
||||
$hash = 'sha1';
|
||||
}
|
||||
$hashObj = new Crypt_Hash($hash);
|
||||
$hashObj = new Hash($hash);
|
||||
switch ($this->signature_format) {
|
||||
case 'rsa-sha2-512':
|
||||
$h = pack('N5a*', 0x00305130, 0x0D060960, 0x86480165, 0x03040203, 0x05000440, $hashObj->hash($this->exchange_hash));
|
||||
|
Loading…
Reference in New Issue
Block a user