From d68a772bf7fd3c15c5b0a8ed1db8203a0902f67f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 17 May 2018 15:19:54 +0100 Subject: [PATCH] Remove do_ssh2_transport variable 'activated_authconn'. It hasn't been used since 2012, when commit 8e0ab8be5 introduced a new method of getting the do_ssh2_authconn coroutine started, and didn't notice that the variable we were previously using was now completely unused. --- ssh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh.c b/ssh.c index 3f325bec..4e09a286 100644 --- a/ssh.c +++ b/ssh.c @@ -6541,7 +6541,7 @@ static void do_ssh2_transport(Ssh ssh, const void *vin, int inlen, const struct ssh_compress *preferred_comp; int userauth_succeeded; /* for delayed compression */ int pending_compression; - int got_session_id, activated_authconn; + int got_session_id; struct Packet *pktout; int dlgret; int guessok; @@ -6570,7 +6570,7 @@ static void do_ssh2_transport(Ssh ssh, const void *vin, int inlen, s->csmac_tobe = s->scmac_tobe = NULL; s->cscomp_tobe = s->sccomp_tobe = NULL; - s->got_session_id = s->activated_authconn = FALSE; + s->got_session_id = FALSE; s->userauth_succeeded = FALSE; s->pending_compression = FALSE; s->need_gss_transient_hostkey = FALSE;