diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-01-08 16:44:37 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-01-08 16:44:37 +0100 |
commit | d45efd3a9f6854ab662afe272aeae5779300b126 (patch) | |
tree | da55232b26da14f80665c5783f23c97dc94fb339 /loginutils/cryptpw.c | |
parent | 3e0c428c45fdb7ec51bd3c8ee1f072385d2e62ac (diff) | |
download | busybox-w32-d45efd3a9f6854ab662afe272aeae5779300b126.tar.gz busybox-w32-d45efd3a9f6854ab662afe272aeae5779300b126.tar.bz2 busybox-w32-d45efd3a9f6854ab662afe272aeae5779300b126.zip |
passwd,cryptpw: make default encryption algorithm configurable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/cryptpw.c')
-rw-r--r-- | loginutils/cryptpw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/cryptpw.c b/loginutils/cryptpw.c index b244f55e3..a36f920f4 100644 --- a/loginutils/cryptpw.c +++ b/loginutils/cryptpw.c | |||
@@ -105,7 +105,7 @@ int cryptpw_main(int argc UNUSED_PARAM, char **argv) | |||
105 | applet_long_options = mkpasswd_longopts; | 105 | applet_long_options = mkpasswd_longopts; |
106 | #endif | 106 | #endif |
107 | fd = STDIN_FILENO; | 107 | fd = STDIN_FILENO; |
108 | opt_m = "d"; | 108 | opt_m = CONFIG_FEATURE_DEFAULT_PASSWD_ALGO; |
109 | opt_S = NULL; | 109 | opt_S = NULL; |
110 | /* at most two non-option arguments; -P NUM */ | 110 | /* at most two non-option arguments; -P NUM */ |
111 | opt_complementary = "?2:P+"; | 111 | opt_complementary = "?2:P+"; |