mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 11:37:33 +00:00
Update a few comments
This commit is contained in:
parent
a3781bd172
commit
26776b486e
@ -217,9 +217,9 @@ define('CRYPT_RSA_PRIVATE_FORMAT_XML', 2);
|
||||
*/
|
||||
define('CRYPT_RSA_PUBLIC_FORMAT_RAW', 3);
|
||||
/**
|
||||
* PKCS#1 formatted public key
|
||||
* PKCS#1 formatted public key (raw)
|
||||
*
|
||||
* Used by X.509 certificates
|
||||
* Used by File/X509.php
|
||||
*/
|
||||
define('CRYPT_RSA_PUBLIC_FORMAT_PKCS1_RAW', 4);
|
||||
/**
|
||||
|
@ -801,6 +801,7 @@ class Net_SSH2 {
|
||||
stream_set_blocking($this->fsock, false);
|
||||
|
||||
// on windows this returns a "Warning: Invalid CRT parameters detected" error
|
||||
// the !count() is done as a workaround for <https://bugs.php.net/42682>
|
||||
if (!@stream_select($read, $write, $except, $timeout - $elapsed) && !count($read)) {
|
||||
user_error(rtrim("Cannot connect to $host. Banner timeout"), E_USER_NOTICE);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user