minor housekeeping, no real code changes
This commit is contained in:
@@ -106,7 +106,7 @@ pam_verify(pw, prompt, auth)
|
||||
/* Any error other than PAM_AUTH_ERR or PAM_MAXTRIES is probably fatal. */
|
||||
if (error != PAM_AUTH_ERR && error != PAM_MAXTRIES) {
|
||||
if ((s = pam_strerror(pamh, error)))
|
||||
log_error(NO_EXIT|NO_MAIL, "pam_authenticate: %s\n", s);
|
||||
log_error(NO_EXIT|NO_MAIL, "pam_authenticate: %s", s);
|
||||
return(AUTH_FATAL);
|
||||
}
|
||||
return(AUTH_FAILURE);
|
||||
|
@@ -119,12 +119,12 @@ int securid_verify __P((struct passwd *pw, char *pass, sudo_auth *auth));
|
||||
NULL, NULL, aixauth_verify, NULL)
|
||||
#elif defined(HAVE_FWTK)
|
||||
# define AUTH_STANDALONE \
|
||||
AUTH_ENTRY(0, "fwtk", fwtk_init, \
|
||||
NULL, fwtk_verify, fwtk_cleanup)
|
||||
AUTH_ENTRY(0, "fwtk", \
|
||||
fwtk_init, NULL, fwtk_verify, fwtk_cleanup)
|
||||
#elif defined(HAVE_BSD_AUTH_H)
|
||||
# define AUTH_STANDALONE \
|
||||
AUTH_ENTRY(0, "bsdauth", bsdauth_init, \
|
||||
NULL, bsdauth_verify, bsdauth_cleanup)
|
||||
AUTH_ENTRY(0, "bsdauth", \
|
||||
bsdauth_init, NULL, bsdauth_verify, bsdauth_cleanup)
|
||||
#endif
|
||||
|
||||
#endif /* SUDO_AUTH_H */
|
||||
|
Reference in New Issue
Block a user