package/busybox: passwd: use MD5 hash by default (like it used to be)
[openwrt/svn-archive/archive.git] / package / busybox / patches / 002-passwd_use_md5_hash_by_default_like_it_used_to_be.patch
1 From eb80c2a5315ed08bd329448217695375d89732c9 Mon Sep 17 00:00:00 2001
2 From: Nicolas Thill <nico@openwrt.org>
3 Date: Wed, 9 Nov 2011 18:17:20 +0100
4 Subject: [PATCH] passwd: use MD5 hash by default (like it used to be)
5
6 ---
7 loginutils/passwd.c | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
9
10 --- a/loginutils/passwd.c
11 +++ b/loginutils/passwd.c
12 @@ -94,7 +94,7 @@ int passwd_main(int argc UNUSED_PARAM, c
13 };
14 unsigned opt;
15 int rc;
16 - const char *opt_a = "d"; /* des */
17 + const char *opt_a = "m"; /* md5 */
18 const char *filename;
19 char *myname;
20 char *name;