# HG changeset patch # User Matt Johnston # Date 1091358164 0 # Node ID 837f9172df09b2d0bca3f21b2c92f0bb11e95b8b # Parent 18eccbfb964183dfb8356260c06dac024cd42297 Remove some unused commented-out code diff -r 18eccbfb9641 -r 837f9172df09 process-packet.c --- a/process-packet.c Sun Aug 01 09:41:37 2004 +0000 +++ b/process-packet.c Sun Aug 01 11:02:44 2004 +0000 @@ -92,27 +92,6 @@ goto out; } - /* XXX This code somewhere else perhaps? */ -#ifdef DROPBEAR_CLIENT - if (IS_DROPBEAR_CLIENT) { - - /* XXX - needs changing */ - /* In client mode, we REUSE ses.expecting to proceed to the - * next phase when a packet was received. - * If the "expecting" flag is set to a non-null value, it will - * be reset when a packet of that type is received. - * This is different from the server-mode behaviour, when - * a packet type mismatch would have caused sudden death. - */ - - /* check that we aren't expecting a particular packet */ -#if 0 - if (cli_ses.expecting && cli_ses.expecting == type) { - cli_ses.expecting = 0; - } -#endif - } -#endif /* Kindly the protocol authors gave all the preauth packets type values * less-than-or-equal-to 60 ( == MAX_UNAUTH_PACKET_TYPE ).