summaryrefslogtreecommitdiffstats
path: root/system/core/compat/password.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-12-14 15:14:13 +0100
committerAndrey Andreev <narf@devilix.net>2016-12-14 15:14:13 +0100
commit24c866628d0ce5463d7e8b4eba512fa9e7752dfd (patch)
tree39d65288647ecaae09e2b9bc6a15e34e53f7d7d4 /system/core/compat/password.php
parent26313bddee1fb67af10141671a47bbe703a025fd (diff)
Drop all PHP 5.3-related code
Diffstat (limited to 'system/core/compat/password.php')
-rw-r--r--system/core/compat/password.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/compat/password.php b/system/core/compat/password.php
index 1b5219e7b..e58422557 100644
--- a/system/core/compat/password.php
+++ b/system/core/compat/password.php
@@ -141,7 +141,7 @@ if ( ! function_exists('password_hash'))
}
// Try not to waste entropy ...
- is_php('5.4') && stream_set_chunk_size($fp, 16);
+ stream_set_chunk_size($fp, 16);
$options['salt'] = '';
for ($read = 0; $read < 16; $read = ($func_override) ? mb_strlen($options['salt'], '8bit') : strlen($options['salt']))