diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-02-27 14:55:54 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-02-27 14:55:54 +0000 |
commit | c74d667dde080bf04cef65a13303c797543bf3e7 (patch) | |
tree | 86772a1e9d468cd1d4d7ad0446ac36191ce9073f /main/ltb-project-ssp/ssp-0.8-add-crypt-algorithm-option.patch | |
parent | fd8c65c15f6f5548331ba559633fad727480958f (diff) | |
download | aports-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.patch | 2 |
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; } |