diff options
author | Damien Miller <djm@mindrot.org> | 2003-11-21 13:56:47 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-11-21 13:56:47 +0100 |
commit | 787b2ec18c013a5076765f93882550918658ea89 (patch) | |
tree | 7f33575e4c909759321a234a29d052f842cb589f /sshconnect2.c | |
parent | - djm@cvs.openbsd.org 2003/11/21 11:57:03 (diff) | |
download | openssh-787b2ec18c013a5076765f93882550918658ea89.tar.xz openssh-787b2ec18c013a5076765f93882550918658ea89.zip |
more whitespace (tabs this time)
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 76670e8a8..281fecdc9 100644 --- a/sshconnect2.c +++ b/sshconnect2.c @@ -546,7 +546,7 @@ process_gssapi_token(void *ctxt, gss_buffer_t recv_tok) gss_buffer_desc gssbuf, mic; OM_uint32 status, ms, flags; Buffer b; - + status = ssh_gssapi_init_ctx(gssctxt, options.gss_deleg_creds, recv_tok, &send_tok, &flags); @@ -555,12 +555,12 @@ process_gssapi_token(void *ctxt, gss_buffer_t recv_tok) packet_start(SSH2_MSG_USERAUTH_GSSAPI_ERRTOK); else packet_start(SSH2_MSG_USERAUTH_GSSAPI_TOKEN); - + packet_put_string(send_tok.value, send_tok.length); packet_send(); gss_release_buffer(&ms, &send_tok); } - + if (status == GSS_S_COMPLETE) { /* send either complete or MIC, depending on mechanism */ if (!(flags & GSS_C_INTEG_FLAG)) { @@ -572,21 +572,21 @@ process_gssapi_token(void *ctxt, gss_buffer_t recv_tok) gssbuf.value = buffer_ptr(&b); gssbuf.length = buffer_len(&b); - + status = ssh_gssapi_sign(gssctxt, &gssbuf, &mic); - + if (!GSS_ERROR(status)) { packet_start(SSH2_MSG_USERAUTH_GSSAPI_MIC); packet_put_string(mic.value, mic.length); - + packet_send(); } - + buffer_free(&b); gss_release_buffer(&ms, &mic); - } + } } - + return status; } |