mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 06:45:10 +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:
@@ -48,8 +48,7 @@ typedef struct sudo_auth {
|
||||
#define IS_ONEANDONLY(x) ((x)->flags & FLAG_ONEANDONLY)
|
||||
|
||||
/* Like tgetpass() but uses conversation function */
|
||||
char *auth_getpass(const char *prompt, int timeout, int type,
|
||||
struct sudo_conv_callback *callback);
|
||||
char *auth_getpass(const char *prompt, int type, struct sudo_conv_callback *callback);
|
||||
|
||||
/* Pointer to conversation function to use with auth_getpass(). */
|
||||
extern sudo_conv_t sudo_conv;
|
||||
|
Reference in New Issue
Block a user