Fix a braino in mm_answer_pam_respond() which would cause sshd to abort if

PAM authentication failed due to an incorrect response.
This commit is contained in:
Dag-Erling Smørgrav 2002-07-02 13:07:17 +00:00
parent 8479adc1d3
commit 669e440e50
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99258

View File

@ -831,7 +831,7 @@ mm_answer_pam_respond(int socket, Buffer *m)
auth_method = "keyboard-interactive/pam";
if (ret == 0)
pam_authok = pam_ctxt;
return (ret);
return (0);
}
int