From b892d451eed24f1b90912ed8839df0452397bbdf Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 26 Nov 2008 14:30:58 +0000 Subject: [PATCH] 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] --- ssh.c | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.45.2