mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 04:34:45 +01:00
RSA: apply terite's changes to RSA.php too
This commit is contained in:
parent
39e5b1d029
commit
700d28f642
@ -83,7 +83,7 @@ if (!class_exists('Math_BigInteger')) {
|
||||
// will trigger a call to __autoload() if you're wanting to auto-load classes
|
||||
// call function_exists() a second time to stop the require_once from being called outside
|
||||
// of the auto loader
|
||||
if (!function_exists('crypt_random_string') && !class_exists('Crypt_Random') && !function_exists('crypt_random_string')) {
|
||||
if (!function_exists('crypt_random_string')) {
|
||||
require_once('Crypt/Random.php');
|
||||
}
|
||||
|
||||
@ -2658,4 +2658,4 @@ class Crypt_RSA {
|
||||
return $this->_rsassa_pss_verify($message, $signature);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user