From fdddab0c61c55c25d4218d4370e2b16a7936a794 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 12 Jun 2008 16:56:52 +0000 Subject: make pw_encrypt() return malloc'ed string. text data bss dec hex filename 759802 604 6684 767090 bb472 busybox_old 759804 604 6676 767084 bb46c busybox_unstripped --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index bd2dbe573..655ca01a5 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1031,7 +1031,7 @@ extern int restricted_shell(const char *shell); */ extern void setup_environment(const char *shell, int clear_env, int change_env, const struct passwd *pw); extern int correct_password(const struct passwd *pw); -/* Returns a ptr to static storage */ +/* Returns a malloced string */ extern char *pw_encrypt(const char *clear, const char *salt, int cleanup); extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); /* rnd is additional random input. New one is returned. -- cgit v1.2.3