summaryrefslogtreecommitdiff
path: root/auth2-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-pam.c')
-rw-r--r--auth2-pam.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/auth2-pam.c b/auth2-pam.c
index 490921d84..cb32ae6e4 100644
--- a/auth2-pam.c
+++ b/auth2-pam.c
@@ -1,5 +1,5 @@
1#include "includes.h" 1#include "includes.h"
2RCSID("$Id: auth2-pam.c,v 1.10 2001/02/16 02:03:04 djm Exp $"); 2RCSID("$Id: auth2-pam.c,v 1.11 2001/06/27 05:36:44 djm Exp $");
3 3
4#ifdef USE_PAM 4#ifdef USE_PAM
5#include <security/pam_appl.h> 5#include <security/pam_appl.h>
@@ -137,9 +137,6 @@ input_userauth_info_response_pam(int type, int plen, void *ctxt)
137 if (authctxt == NULL) 137 if (authctxt == NULL)
138 fatal("input_userauth_info_response_pam: no authentication context"); 138 fatal("input_userauth_info_response_pam: no authentication context");
139 139
140 if (authctxt->attempt++ >= AUTH_FAIL_MAX)
141 packet_disconnect("too many failed userauth_requests");
142
143 nresp = packet_get_int(); /* Number of responses. */ 140 nresp = packet_get_int(); /* Number of responses. */
144 debug("got %d responses", nresp); 141 debug("got %d responses", nresp);
145 142