diff options
Diffstat (limited to 'auth2-gss.c')
-rw-r--r-- | auth2-gss.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/auth2-gss.c b/auth2-gss.c index 0d59b2177..93d576bfb 100644 --- a/auth2-gss.c +++ b/auth2-gss.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2-gss.c,v 1.17 2011/03/10 02:52:57 djm Exp $ */ | 1 | /* $OpenBSD: auth2-gss.c,v 1.18 2012/12/02 20:34:09 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. | 4 | * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. |
@@ -163,7 +163,7 @@ input_gssapi_token(int type, u_int32_t plen, void *ctxt) | |||
163 | } | 163 | } |
164 | authctxt->postponed = 0; | 164 | authctxt->postponed = 0; |
165 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL); | 165 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL); |
166 | userauth_finish(authctxt, 0, "gssapi-with-mic"); | 166 | userauth_finish(authctxt, 0, "gssapi-with-mic", NULL); |
167 | } else { | 167 | } else { |
168 | if (send_tok.length != 0) { | 168 | if (send_tok.length != 0) { |
169 | packet_start(SSH2_MSG_USERAUTH_GSSAPI_TOKEN); | 169 | packet_start(SSH2_MSG_USERAUTH_GSSAPI_TOKEN); |
@@ -251,7 +251,7 @@ input_gssapi_exchange_complete(int type, u_int32_t plen, void *ctxt) | |||
251 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); | 251 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); |
252 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); | 252 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); |
253 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); | 253 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); |
254 | userauth_finish(authctxt, authenticated, "gssapi-with-mic"); | 254 | userauth_finish(authctxt, authenticated, "gssapi-with-mic", NULL); |
255 | } | 255 | } |
256 | 256 | ||
257 | static void | 257 | static void |
@@ -291,7 +291,7 @@ input_gssapi_mic(int type, u_int32_t plen, void *ctxt) | |||
291 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); | 291 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); |
292 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); | 292 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); |
293 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); | 293 | dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); |
294 | userauth_finish(authctxt, authenticated, "gssapi-with-mic"); | 294 | userauth_finish(authctxt, authenticated, "gssapi-with-mic", NULL); |
295 | } | 295 | } |
296 | 296 | ||
297 | Authmethod method_gssapi = { | 297 | Authmethod method_gssapi = { |