summaryrefslogtreecommitdiffhomepage
path: root/process-packet.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-01 11:02:44 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-01 11:02:44 +0000
commit0a60e4536d1a9b2a21c949fcbada061685b8fc1b (patch)
treed7842cbf190b03185015e3d2f0aae9d829b22524 /process-packet.c
parent55c9b4564937d6f3348896d010bde2bb3711a1fd (diff)
Remove some unused commented-out code
--HG-- extra : convert_revision : bfac723600adde37a06e9b4f6309ab7cef39738e
Diffstat (limited to 'process-packet.c')
-rw-r--r--process-packet.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/process-packet.c b/process-packet.c
index 3e6b79c..bdec032 100644
--- a/process-packet.c
+++ b/process-packet.c
@@ -92,27 +92,6 @@ void process_packet() {
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 ).