summaryrefslogtreecommitdiff
path: root/inc/PassHash.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-05-01 09:05:24 +0200
committerAndreas Gohr <andi@splitbrain.org>2011-05-01 09:05:24 +0200
commitd6f9b0b399eba03397b4ee25a74999303ed558b9 (patch)
tree15a0d0d3907132114b07f3453ddc8e870d9e0777 /inc/PassHash.class.php
parent7146bcbf4dae79bca314dccaf0bb42655909c9ae (diff)
downloadrpg-d6f9b0b399eba03397b4ee25a74999303ed558b9.tar.gz
rpg-d6f9b0b399eba03397b4ee25a74999303ed558b9.tar.bz2
fixed typo in PassHash class
The pure PHP implementation for smd5 failed.
Diffstat (limited to 'inc/PassHash.class.php')
-rw-r--r--inc/PassHash.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/PassHash.class.php b/inc/PassHash.class.php
index cb46c5928..541de6752 100644
--- a/inc/PassHash.class.php
+++ b/inc/PassHash.class.php
@@ -126,7 +126,7 @@ class PassHash {
return crypt($clear,'$1$'.$salt.'$');
}else{
// Fall back to PHP-only implementation
- return $this->apr1($clear, $salt, '1');
+ return $this->hash_apr1($clear, $salt, '1');
}
}