From: Todd C. Miller Date: Thu, 17 Jan 2002 05:24:28 +0000 (+0000) Subject: skeyaccess() wants a struct passwd * not a char *; Patch from Phillip E. Lobbes X-Git-Tag: SUDO_1_6_5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=437464847c8d9a11adedc4227530e8cc64365e2c;p=sudo skeyaccess() wants a struct passwd * not a char *; Patch from Phillip E. Lobbes --- diff --git a/auth/passwd.c b/auth/passwd.c index 26e6c4bb0..ad81be672 100644 --- a/auth/passwd.c +++ b/auth/passwd.c @@ -74,7 +74,7 @@ passwd_init(pw, promptp, auth) sudo_auth *auth; { #ifdef HAVE_SKEYACCESS - if (skeyaccess(pw->pw_name, user_tty, NULL, NULL) == 0) + if (skeyaccess(pw, user_tty, NULL, NULL) == 0) return(AUTH_FATAL); #endif return(AUTH_SUCCESS);