2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 22:35:10 +00:00

Create def_* macros for each defaults value so we no longer need

the def_{flag,ival,str,list,mode} macros (which have been removed).
This is a step toward more flexible data types in def_data.in.
This commit is contained in:
Todd C. Miller
2003-12-30 22:20:21 +00:00
parent 45fe0a6cc6
commit 6ad252765b
22 changed files with 313 additions and 246 deletions

View File

@@ -79,7 +79,7 @@ aixauth_verify(pw, prompt, auth)
int reenter = 1;
int rval = AUTH_FAILURE;
pass = tgetpass(prompt, def_ival(I_PASSWD_TIMEOUT) * 60, tgetpass_flags);
pass = tgetpass(prompt, def_passwd_timeout * 60, tgetpass_flags);
if (pass) {
if (authenticate(pw->pw_name, (char *)pass, &reenter, &message) == 0)
rval = AUTH_SUCCESS;