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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user