summaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/230-passwd_salt.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-24 07:06:23 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-24 07:06:23 +0000
commitcd0d52cbccd8c66fd7b28a35eb69efdc4231201f (patch)
treeacdb0d2e7e361393f49b8e0d2cb18981ab95fa34 /package/busybox/patches/230-passwd_salt.patch
parentfe20d5fa6ebf13c5e8b05bb3b5962aa37a1e34e5 (diff)
sync busybox with trunk (update to v1.1.3).
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3823 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/230-passwd_salt.patch')
-rw-r--r--package/busybox/patches/230-passwd_salt.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/package/busybox/patches/230-passwd_salt.patch b/package/busybox/patches/230-passwd_salt.patch
deleted file mode 100644
index 0322a9843..000000000
--- a/package/busybox/patches/230-passwd_salt.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- busybox-1.00/loginutils/passwd.c 2006-03-26 06:07:37 -05:00
-+++ busybox-1.00/loginutils/passwd.c 2006-03-26 06:09:03 -05:00
-@@ -386,7 +386,9 @@
- bzero(orig, sizeof(orig));
-
- if (algo == 1) {
-- cp = pw_encrypt(pass, "$1$");
-+ char salt[6]="$1$\0\0\0";
-+ memcpy(salt+3,crypt_make_salt(),3);
-+ cp = pw_encrypt(pass, salt);
- } else
- cp = pw_encrypt(pass, crypt_make_salt());
- bzero(pass, sizeof pass);