From d6f9b0b399eba03397b4ee25a74999303ed558b9 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Sun, 1 May 2011 09:05:24 +0200 Subject: [PATCH] fixed typo in PassHash class The pure PHP implementation for smd5 failed. --- inc/PassHash.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } } -- GitLab