mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-15 11:06:59 +00:00
Remove conditions for PHP < 5.3.0 for this branch
This commit is contained in:
parent
df6b201ab9
commit
78bac871af
@ -473,11 +473,7 @@ class RSA
|
||||
case defined('MATH_BIGINTEGER_OPENSSL_DISABLE'):
|
||||
define('CRYPT_RSA_MODE', self::MODE_INTERNAL);
|
||||
break;
|
||||
// openssl_pkey_get_details - which is used in the only place Crypt/RSA.php uses OpenSSL - was introduced in PHP 5.2.0
|
||||
case extension_loaded('openssl') && version_compare(PHP_VERSION, '5.2.0', "<="):
|
||||
define('CRYPT_RSA_MODE', self::MODE_INTERNAL);
|
||||
break;
|
||||
case extension_loaded('openssl') && version_compare(PHP_VERSION, '4.2.0', '>=') && file_exists($this->configFile):
|
||||
case extension_loaded('openssl') && file_exists($this->configFile):
|
||||
// some versions of XAMPP have mismatched versions of OpenSSL which causes it not to work
|
||||
ob_start();
|
||||
@phpinfo();
|
||||
|
Loading…
Reference in New Issue
Block a user