summaryrefslogtreecommitdiff
path: root/auth2-gss.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-gss.c')
-rw-r--r--auth2-gss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/auth2-gss.c b/auth2-gss.c
index 7dc87dba4..17d4a3a84 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-2007 Simon Wilkinson. All rights reserved. 4 * Copyright (c) 2001-2007 Simon Wilkinson. All rights reserved.
@@ -197,7 +197,7 @@ input_gssapi_token(int type, u_int32_t plen, void *ctxt)
197 } 197 }
198 authctxt->postponed = 0; 198 authctxt->postponed = 0;
199 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL); 199 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL);
200 userauth_finish(authctxt, 0, "gssapi-with-mic"); 200 userauth_finish(authctxt, 0, "gssapi-with-mic", NULL);
201 } else { 201 } else {
202 if (send_tok.length != 0) { 202 if (send_tok.length != 0) {
203 packet_start(SSH2_MSG_USERAUTH_GSSAPI_TOKEN); 203 packet_start(SSH2_MSG_USERAUTH_GSSAPI_TOKEN);
@@ -286,7 +286,7 @@ input_gssapi_exchange_complete(int type, u_int32_t plen, void *ctxt)
286 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); 286 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL);
287 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); 287 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL);
288 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); 288 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL);
289 userauth_finish(authctxt, authenticated, "gssapi-with-mic"); 289 userauth_finish(authctxt, authenticated, "gssapi-with-mic", NULL);
290} 290}
291 291
292static void 292static void
@@ -327,7 +327,7 @@ input_gssapi_mic(int type, u_int32_t plen, void *ctxt)
327 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL); 327 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL);
328 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL); 328 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_MIC, NULL);
329 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL); 329 dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_EXCHANGE_COMPLETE, NULL);
330 userauth_finish(authctxt, authenticated, "gssapi-with-mic"); 330 userauth_finish(authctxt, authenticated, "gssapi-with-mic", NULL);
331} 331}
332 332
333Authmethod method_gsskeyex = { 333Authmethod method_gsskeyex = {