diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-01-17 16:48:02 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-01-17 16:48:02 +0000 |
commit | 6d9886b77c98f85fb0a041442472ed4e7ae6e24e (patch) | |
tree | 7d9d03b928284c3ec0efae60336e79c72a0ea5c3 /usr.bin/sudo/auth/passwd.c | |
parent | 09c204af73ffb4de06f1495c0db372d924377e34 (diff) |
update to sudo 1.6.5p1, sigh
Diffstat (limited to 'usr.bin/sudo/auth/passwd.c')
-rw-r--r-- | usr.bin/sudo/auth/passwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sudo/auth/passwd.c b/usr.bin/sudo/auth/passwd.c index 92b6a3efa79..98a9fdb6889 100644 --- a/usr.bin/sudo/auth/passwd.c +++ b/usr.bin/sudo/auth/passwd.c @@ -61,7 +61,7 @@ #include "sudo_auth.h" #ifndef lint -static const char rcsid[] = "$Sudo: passwd.c,v 1.9 2001/12/14 19:52:53 millert Exp $"; +static const char rcsid[] = "$Sudo: passwd.c,v 1.11 2002/01/17 15:56:15 millert Exp $"; #endif /* lint */ #define DESLEN 13 @@ -74,8 +74,8 @@ passwd_init(pw, promptp, auth) sudo_auth *auth; { #ifdef HAVE_SKEYACCESS - if (skeyaccess(pw->pw_name, user_tty, NULL, NULL) == 0) - return(AUTH_FATAL); + if (skeyaccess(pw, user_tty, NULL, NULL) == 0) + return(AUTH_FAILURE); #endif return(AUTH_SUCCESS); } |