aboutsummaryrefslogtreecommitdiffstats
path: root/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch')
-rw-r--r--main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch b/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch
index cebb918a92..8abb818f51 100644
--- a/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch
+++ b/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch
@@ -21,7 +21,7 @@ index 03e7258..1870692 100644
$salt .= substr( $possible, ( rand() % strlen( $possible ) ), 1 );
- $hash = '{CRYPT}' . crypt( $password, $salt);
-+ $hash = '{CRYPT}' . crypt( $password, $crypt_salt_prefix.$salt);
++ $hash = '{CRYPT}' . crypt( $password, $GLOBALS['crypt_salt_prefix'].$salt);
return $hash;
}