aboutsummaryrefslogtreecommitdiffstats
path: root/main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-02-27 14:55:54 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-02-27 14:55:54 +0000
commitc74d667dde080bf04cef65a13303c797543bf3e7 (patch)
tree86772a1e9d468cd1d4d7ad0446ac36191ce9073f /main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch
parentfd8c65c15f6f5548331ba559633fad727480958f (diff)
downloadaports-c74d667dde080bf04cef65a13303c797543bf3e7.tar.bz2
aports-c74d667dde080bf04cef65a13303c797543bf3e7.tar.xz
main/ltb-project-ssp: variable scope bugfix
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;
}