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

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