mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 04:05:15 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
d1470644a2
@ -493,7 +493,7 @@ abstract class Base
|
|||||||
|
|
||||||
// Determining whether inline crypting can be used by the cipher
|
// Determining whether inline crypting can be used by the cipher
|
||||||
if ($this->use_inline_crypt !== false) {
|
if ($this->use_inline_crypt !== false) {
|
||||||
$this->use_inline_crypt = version_compare(PHP_VERSION, '5.3.0') || function_exists('create_function');
|
$this->use_inline_crypt = version_compare(PHP_VERSION, '5.3.0') >= 0 || function_exists('create_function');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user