diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
commit | a14d555c873398b14776ca4f2c33f9c69617afb9 (patch) | |
tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/su | |
parent | f3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff) | |
download | FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/su')
-rw-r--r-- | usr.bin/su/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/su/su.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile index 3c40389..1d0249d 100644 --- a/usr.bin/su/Makefile +++ b/usr.bin/su/Makefile @@ -6,7 +6,7 @@ SRCS= su.c CFLAGS+=-DSKEY LDADD= -lskey -lmd -lcrypt -DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} +DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} .if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \ || defined(MAKE_EBONES)) diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c index 6eef9ee..bbc4dc0 100644 --- a/usr.bin/su/su.c +++ b/usr.bin/su/su.c @@ -171,7 +171,7 @@ main(argc, argv) if (*pwd->pw_passwd) { #ifdef SKEY p = skey_getpass("Password:", pwd, 1); - if (strcmp(pwd->pw_passwd, + if (strcmp(pwd->pw_passwd, skey_crypt(p, pwd->pw_passwd, pwd, 1))) { #else p = getpass("Password:"); |