From 669e440e50d0eb533589b685b26e1e9e42fc6bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 2 Jul 2002 13:07:17 +0000 Subject: [PATCH] Fix a braino in mm_answer_pam_respond() which would cause sshd to abort if PAM authentication failed due to an incorrect response. --- crypto/openssh/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/openssh/monitor.c b/crypto/openssh/monitor.c index 75789be48d8..cd39e891821 100644 --- a/crypto/openssh/monitor.c +++ b/crypto/openssh/monitor.c @@ -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