projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libarchive: open_zipped() does not need to check extensions for e.g. gzip
[oweals/busybox.git]
/
loginutils
/
passwd.c
diff --git
a/loginutils/passwd.c
b/loginutils/passwd.c
index b83db0083624bf47866c9f2c9b914781632646c0..1509089328df8476a7adbf5d4c5847defc2b17ac 100644
(file)
--- a/
loginutils/passwd.c
+++ b/
loginutils/passwd.c
@@
-15,11
+15,7
@@
#include "libbb.h"
#include <syslog.h>
-
-static void nuke_str(char *str)
-{
- if (str) memset(str, 0, strlen(str));
-}
+#include <sys/resource.h> /* setrlimit */
static char* new_password(const struct passwd *pw, uid_t myuid, const char *algo)
{