mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
5369b86808
@ -4605,11 +4605,15 @@ class SSH2
|
|||||||
//'none' // OPTIONAL no encryption; NOT RECOMMENDED
|
//'none' // OPTIONAL no encryption; NOT RECOMMENDED
|
||||||
);
|
);
|
||||||
|
|
||||||
$engines = array(
|
if ($this->crypto_engine) {
|
||||||
Base::ENGINE_OPENSSL,
|
$engines = array($this->crypto_engine);
|
||||||
Base::ENGINE_MCRYPT,
|
} else {
|
||||||
Base::ENGINE_INTERNAL
|
$engines = array(
|
||||||
);
|
Base::ENGINE_OPENSSL,
|
||||||
|
Base::ENGINE_MCRYPT,
|
||||||
|
Base::ENGINE_INTERNAL
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
$ciphers = array();
|
$ciphers = array();
|
||||||
foreach ($engines as $engine) {
|
foreach ($engines as $engine) {
|
||||||
|
Loading…
Reference in New Issue
Block a user