summaryrefslogtreecommitdiffstats
path: root/system/libraries/Sha1.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Sha1.php')
-rw-r--r--system/libraries/Sha1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Sha1.php b/system/libraries/Sha1.php
index 93982bfc4..cc6e2123f 100644
--- a/system/libraries/Sha1.php
+++ b/system/libraries/Sha1.php
@@ -80,7 +80,7 @@ class CI_SHA {
$d = 271733878;
$e = -1009589776;
- for ($i = 0; $i < sizeof($x); $i += 16)
+ for ($i = 0; $i < count($x); $i += 16)
{
$olda = $a;
$oldb = $b;