summaryrefslogtreecommitdiffhomepage
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
commitf782cf375a360eff337f3e8ac8e0d61dc17f80a9 (patch)
treec10903933a3a3d473775759cf4d3ba9129d57670 /session.h
parentf367273549350d99f476ad140b083d10a212d186 (diff)
Fix pubkey auth after change to reuse ses.readbuf as ses.payload
(4d7b4c5526c5) --HG-- branch : nocircbuffer
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 */