]> granicus.if.org Git - sudo/commitdiff
skeyaccess() wants a struct passwd * not a char *; Patch from Phillip E. Lobbes SUDO_1_6_5
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 17 Jan 2002 05:24:28 +0000 (05:24 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 17 Jan 2002 05:24:28 +0000 (05:24 +0000)
auth/passwd.c

index 26e6c4bb020cc156be1f4466740a060255539d9c..ad81be672d7d586577cf45bfe8ea26513cfbffd1 100644 (file)
@@ -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);