Style nit

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@631 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2013-03-03 19:41:24 +00:00
parent ff9ea1145d
commit 08f35bc290
1 changed files with 2 additions and 2 deletions

View File

@ -113,9 +113,9 @@ pam_get_authtok(pam_handle_t *pamh,
if (r == PAM_SUCCESS && prevauthtok != NULL) {
*authtok = prevauthtok;
RETURNC(PAM_SUCCESS);
}
else if (openpam_get_option(pamh, "use_first_pass"))
} else if (openpam_get_option(pamh, "use_first_pass")) {
RETURNC(r == PAM_SUCCESS ? PAM_AUTH_ERR : r);
}
}
/* pam policy overrides the module's choice */
if ((promptp = openpam_get_option(pamh, prompt_option)) != NULL)