1
0
mirror of https://github.com/danog/phpseclib.git synced 2025-01-22 13:01:59 +01:00

SSH: update getServerPublicHostKey() to use new _connect() method

This commit is contained in:
terrafrost 2014-08-06 14:42:08 -05:00
parent 5b019b22d9
commit 085fb0ebb8

View File

@ -3675,7 +3675,6 @@ class Net_SSH2
function getServerPublicHostKey()
{
if (!($this->bitmap & NET_SSH2_MASK_CONSTRUCTOR)) {
$this->bitmap |= NET_SSH2_MASK_CONSTRUCTOR;
if (!$this->_connect()) {
return false;
}