cryptpw: new applet (a bit less than 3k added)

(by Thomas Lundquist <lists@zelow.no>)
This commit is contained in:
Denis Vlasenko
2007-05-08 17:52:17 +00:00
parent 92c0b8222e
commit 7e84e539de
9 changed files with 74 additions and 73 deletions

View File

@@ -21,6 +21,7 @@ lib-y += copyfd.o
lib-y += crc32.o
lib-y += create_icmp6_socket.o
lib-y += create_icmp_socket.o
lib-y += crypt_make_salt.o
lib-y += default_error_retval.o
lib-y += device_open.o
lib-y += dump.o
@@ -103,6 +104,9 @@ lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o
lib-$(CONFIG_LOSETUP) += loop.o
lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o
lib-$(CONFIG_PASSWD) += pw_encrypt.o
lib-$(CONFIG_PASSWD) += crypt_make_salt.o
lib-$(CONFIG_CRYPTPW) += pw_encrypt.o
lib-$(CONFIG_CRYPTPW) += crypt_make_salt.o
lib-$(CONFIG_SULOGIN) += pw_encrypt.o
lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
lib-$(CONFIG_VLOCK) += correct_password.o

View File

@@ -15,5 +15,5 @@ void chomp(char *s)
char *lc = last_char_is(s, '\n');
if (lc)
*lc = 0;
*lc = '\0';
}