summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-03-01 23:02:06 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-03-01 23:02:06 +0800
commit922cc534fce553b2c1ed39c13d32046fd8703042 (patch)
tree80f2e53fc4f513e4a9a2ae83598150109c4d9dd9 /session.h
parenta7f360f887d0c7aef387e324f3c4e8f4c94a3d78 (diff)
downloaddropbear-922cc534fce553b2c1ed39c13d32046fd8703042.tar.gz
Fix pubkey auth after change to reuse ses.readbuf as ses.payload
(4d7b4c5526c5)
Diffstat (limited to 'session.h')
-rw-r--r--session.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/session.h b/session.h
index 0780d51..478de94 100644
--- a/session.h
+++ b/session.h
@@ -126,7 +126,10 @@ struct sshsession {
buffer with the packet to send. */
struct Queue writequeue; /* A queue of encrypted packets to send */
buffer *readbuf; /* From the wire, decrypted in-place */
- buffer *payload; /* Post-decompression, the actual SSH packet */
+ buffer *payload; /* Post-decompression, the actual SSH packet.
+ May have extra data at the beginning, will be
+ passed to packet processing functions positioned past
+ that, see payload_beginning */
unsigned int payload_beginning;
unsigned int transseq, recvseq; /* Sequence IDs */