Add a struct sudo_conv_callback that contains on_suspend and on_resume
function pointer args plus a closure pointer and at it to the conversation function.
This commit is contained in:
@@ -124,7 +124,7 @@ sudo_rfc1938_setup(struct passwd *pw, char **promptp, sudo_auth *auth)
|
||||
}
|
||||
|
||||
int
|
||||
sudo_rfc1938_verify(struct passwd *pw, char *pass, sudo_auth *auth)
|
||||
sudo_rfc1938_verify(struct passwd *pw, char *pass, sudo_auth *auth, struct sudo_conv_callback *callback)
|
||||
{
|
||||
debug_decl(sudo_rfc1938_verify, SUDOERS_DEBUG_AUTH)
|
||||
|
||||
|
Reference in New Issue
Block a user