diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2023-05-04 13:06:09 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2023-05-04 13:06:09 -0600 |
commit | eb96cfe459a08537811631911688148915b61fff (patch) | |
tree | 57e51fb4b2f979d3331d5f990f822df776939929 /plugins/sudoers/auth/sudo_auth.h | |
parent | edde95eb4272efa35f20389442342255a4823296 (diff) | |
download | sudo-eb96cfe459a08537811631911688148915b61fff.tar.gz |
Make login_style private to bsdauth.c
Add a setter for policy.c to handle auth_type from the front-end.
Diffstat (limited to 'plugins/sudoers/auth/sudo_auth.h')
-rw-r--r-- | plugins/sudoers/auth/sudo_auth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/sudoers/auth/sudo_auth.h b/plugins/sudoers/auth/sudo_auth.h index 031810466..70979b4b9 100644 --- a/plugins/sudoers/auth/sudo_auth.h +++ b/plugins/sudoers/auth/sudo_auth.h @@ -63,6 +63,7 @@ int bsdauth_init(struct passwd *pw, sudo_auth *auth); int bsdauth_verify(struct passwd *pw, const char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback); int bsdauth_approval(struct passwd *pw, sudo_auth *auth, bool exempt); int bsdauth_cleanup(struct passwd *pw, sudo_auth *auth, bool force); +void bsdauth_set_style(const char *style); int sudo_aix_init(struct passwd *pw, sudo_auth *auth); int sudo_aix_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback); int sudo_aix_cleanup(struct passwd *pw, sudo_auth *auth, bool force); |