summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/auth2.c b/auth2.c
index 9c4919969..ee6931810 100644
--- a/auth2.c
+++ b/auth2.c
@@ -240,10 +240,6 @@ userauth_finish(Authctxt *authctxt, int authenticated, char *method)
240 } else { 240 } else {
241 if (authctxt->failures++ > AUTH_FAIL_MAX) 241 if (authctxt->failures++ > AUTH_FAIL_MAX)
242 packet_disconnect(AUTH_FAIL_MSG, authctxt->user); 242 packet_disconnect(AUTH_FAIL_MSG, authctxt->user);
243#ifdef _UNICOS
244 if (strcmp(method, "password") == 0)
245 cray_login_failure(authctxt->user, IA_UDBERR);
246#endif /* _UNICOS */
247 methods = authmethods_get(); 243 methods = authmethods_get();
248 packet_start(SSH2_MSG_USERAUTH_FAILURE); 244 packet_start(SSH2_MSG_USERAUTH_FAILURE);
249 packet_put_cstring(methods); 245 packet_put_cstring(methods);