summaryrefslogtreecommitdiffstats
path: root/auth2-gss.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-11-21 13:56:47 +0100
committerDamien Miller <djm@mindrot.org>2003-11-21 13:56:47 +0100
commit787b2ec18c013a5076765f93882550918658ea89 (patch)
tree7f33575e4c909759321a234a29d052f842cb589f /auth2-gss.c
parent - djm@cvs.openbsd.org 2003/11/21 11:57:03 (diff)
downloadopenssh-787b2ec18c013a5076765f93882550918658ea89.tar.xz
openssh-787b2ec18c013a5076765f93882550918658ea89.zip
more whitespace (tabs this time)
Diffstat (limited to 'auth2-gss.c')
-rw-r--r--auth2-gss.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/auth2-gss.c b/auth2-gss.c
index 799d3326c..9249988d3 100644
--- a/auth2-gss.c
+++ b/auth2-gss.c
@@ -255,21 +255,21 @@ input_gssapi_mic(int type, u_int32_t plen, void *ctxt)
Buffer b;
gss_buffer_desc mic, gssbuf;
u_int len;
-
+
if (authctxt == NULL || (authctxt->methoddata == NULL && !use_privsep))
fatal("No authentication or GSSAPI context");
-
+
gssctxt = authctxt->methoddata;
-
+
mic.value = packet_get_string(&len);
mic.length = len;
-
+
ssh_gssapi_buildmic(&b, authctxt->user, authctxt->service,
"gssapi-with-mic");
-
+
gssbuf.value = buffer_ptr(&b);
gssbuf.length = buffer_len(&b);
-
+
if (!GSS_ERROR(PRIVSEP(ssh_gssapi_checkmic(gssctxt, &gssbuf, &mic))))
authenticated = PRIVSEP(ssh_gssapi_userok(authctxt->user));
else
@@ -277,7 +277,7 @@ input_gssapi_mic(int type, u_int32_t plen, void *ctxt)
buffer_free(&b);
xfree(mic.value);
-
+
authctxt->postponed = 0;
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL);
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK, NULL);