aboutsummaryrefslogtreecommitdiff
path: root/loginutils/passwd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-01-08 16:44:37 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-01-08 16:44:37 +0100
commitd45efd3a9f6854ab662afe272aeae5779300b126 (patch)
treeda55232b26da14f80665c5783f23c97dc94fb339 /loginutils/passwd.c
parent3e0c428c45fdb7ec51bd3c8ee1f072385d2e62ac (diff)
downloadbusybox-d45efd3a9f6854ab662afe272aeae5779300b126.tar.gz
passwd,cryptpw: make default encryption algorithm configurable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/passwd.c')
-rw-r--r--loginutils/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index 1cfafaec3..b83db0083 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -94,7 +94,7 @@ int passwd_main(int argc UNUSED_PARAM, char **argv)
};
unsigned opt;
int rc;
- const char *opt_a = "d"; /* des */
+ const char *opt_a = CONFIG_FEATURE_DEFAULT_PASSWD_ALGO;
const char *filename;
char *myname;
char *name;