]> granicus.if.org Git - sudo/commitdiff
use tgetpass
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 1 Aug 1999 10:49:41 +0000 (10:49 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 1 Aug 1999 10:49:41 +0000 (10:49 +0000)
auth/aix_auth.c

index b72142b608c79b1895297477ed93926efc99b287..914639fe57226aed92b21a3bf536ce8cdc1547fb 100644 (file)
@@ -67,7 +67,7 @@ aixauth_verify(pw, prompt, data)
     char *message, *pass;
     int reenter = 1;
 
-    pass = GETPASS(prompt, PASSWORD_TIMEOUT * 60, 1);
+    pass = tgetpass(prompt, PASSWORD_TIMEOUT * 60, 1);
     if (authenticate(pw->pw_name, pass, &reenter, &message) == 0)
        return(AUTH_SUCCESS);
     else