Jacob correctly points out that I accidentally lost a clearing of
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Wed, 26 Nov 2008 14:30:58 +0000 (14:30 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
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: svn://svn.tartarus.org/sgt/putty@8337 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 6a882b7..3eff2cf 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 {