]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commitdiff
Jacob correctly points out that I accidentally lost a clearing of
authorBen Harris <bjh21@bjh21.me.uk>
Wed, 26 Nov 2008 14:30:58 +0000 (14:30 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Wed, 26 Nov 2008 14:30:58 +0000 (14:30 +0000)
s->gss_sndtok in r8326.  I'm not sure it was strictly necessary, since
even if there's no send token, gss_init_sec_context() is meant to explicitly
make it empty, but it wasn't an intentional change.

git-svn-id: http://svn.tartarus.org/sgt/putty@8337 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 6a882b796aeece1554ac31b6ade11a830f45abe5..3eff2cfde2a9758e0dd736a496e99fb0678a3b3a 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -7960,6 +7960,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
 
                /* initial tokens are empty */
                SSH_GSS_CLEAR_BUF(&s->gss_rcvtok);
+               SSH_GSS_CLEAR_BUF(&s->gss_sndtok);
 
                /* now enter the loop */
                do {