minor housekeeping, no real code changes

This commit is contained in:
Todd C. Miller
2000-10-29 22:30:22 +00:00
parent e23d30b913
commit 7a93a4aa75
2 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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 */