summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth2.c b/auth2.c
index a835abfc6..3ee44014d 100644
--- a/auth2.c
+++ b/auth2.c
@@ -69,6 +69,7 @@ extern Authmethod method_passwd;
69extern Authmethod method_kbdint; 69extern Authmethod method_kbdint;
70extern Authmethod method_hostbased; 70extern Authmethod method_hostbased;
71#ifdef GSSAPI 71#ifdef GSSAPI
72extern Authmethod method_gsskeyex;
72extern Authmethod method_gssapi; 73extern Authmethod method_gssapi;
73#endif 74#endif
74 75
@@ -76,6 +77,7 @@ Authmethod *authmethods[] = {
76 &method_none, 77 &method_none,
77 &method_pubkey, 78 &method_pubkey,
78#ifdef GSSAPI 79#ifdef GSSAPI
80 &method_gsskeyex,
79 &method_gssapi, 81 &method_gssapi,
80#endif 82#endif
81 &method_passwd, 83 &method_passwd,
@@ -264,6 +266,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt)
264#endif 266#endif
265 267
266 authctxt->postponed = 0; 268 authctxt->postponed = 0;
269 authctxt->server_caused_failure = 0;
267 270
268 /* try to authenticate user */ 271 /* try to authenticate user */
269 m = authmethod_lookup(method); 272 m = authmethod_lookup(method);