From: Ben Harris Date: Wed, 26 Nov 2008 14:30:58 +0000 (+0000) Subject: Jacob correctly points out that I accidentally lost a clearing of X-Git-Tag: 0.61~196 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=b892d451eed24f1b90912ed8839df0452397bbdf;p=PuTTY.git Jacob correctly points out that I accidentally lost a clearing of 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. [originally from svn r8337] [r8326 == 81dafd906eb4817393fabe4d408c16de8586de8b] --- diff --git a/ssh.c b/ssh.c index 6a882b79..3eff2cfd 100644 --- 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 {