mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-11 16:15:52 +00:00
Hash: rm function_exists calls for hash extension functions
This commit is contained in:
parent
e2256f4267
commit
49be6e5529
@ -925,8 +925,6 @@ abstract class SymmetricKey
|
||||
}
|
||||
|
||||
return true;
|
||||
case !function_exists('hash_pbkdf2'):
|
||||
case !function_exists('hash_algos'):
|
||||
case !in_array($hash, hash_algos()):
|
||||
$i = 1;
|
||||
$hashObj->setKey($password);
|
||||
|
Loading…
Reference in New Issue
Block a user