mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Store passwd_timeout and timestamp_timeout as a struct timespec
instead of as a float. Remove timeout argument to auth_getpass() as it was never used.
This commit is contained in:
@@ -174,11 +174,11 @@ struct sudo_defs_types sudo_defs_table[] = {
|
||||
N_("Length at which to wrap log file lines (0 for no wrap): %u"),
|
||||
NULL,
|
||||
}, {
|
||||
"timestamp_timeout", T_FLOAT|T_BOOL,
|
||||
"timestamp_timeout", T_TIMESPEC|T_BOOL,
|
||||
N_("Authentication timestamp timeout: %.1f minutes"),
|
||||
NULL,
|
||||
}, {
|
||||
"passwd_timeout", T_FLOAT|T_BOOL,
|
||||
"passwd_timeout", T_TIMESPEC|T_BOOL,
|
||||
N_("Password prompt timeout: %.1f minutes"),
|
||||
NULL,
|
||||
}, {
|
||||
|
Reference in New Issue
Block a user