Mercurial > dropbear
comparison process-packet.c @ 926:b8208506322e
Use AUTH_TIMEOUT only before authdone != 1.
While at it, fix a few indentations and typo.
author | Yousong Zhou <yszhou4tech@gmail.com> |
---|---|
date | Thu, 13 Mar 2014 16:28:16 +0800 |
parents | cbc73a5aefb0 |
children | 7cd89d4e0335 |
comparison
equal
deleted
inserted
replaced
923:25b7ed9fe854 | 926:b8208506322e |
---|---|
50 type = buf_getbyte(ses.payload); | 50 type = buf_getbyte(ses.payload); |
51 TRACE(("process_packet: packet type = %d, len %d", type, ses.payload->len)) | 51 TRACE(("process_packet: packet type = %d, len %d", type, ses.payload->len)) |
52 | 52 |
53 ses.lastpacket = type; | 53 ses.lastpacket = type; |
54 | 54 |
55 ses.last_packet_time = time(NULL); | 55 ses.last_packet_time = time(NULL); |
56 | 56 |
57 /* These packets we can receive at any time */ | 57 /* These packets we can receive at any time */ |
58 switch(type) { | 58 switch(type) { |
59 | 59 |
60 case SSH_MSG_IGNORE: | 60 case SSH_MSG_IGNORE: |