Mercurial > dropbear
diff session.h @ 1059:703c7cdd2577 nocircbuffer
Fix pubkey auth after change to reuse ses.readbuf as ses.payload
(4d7b4c5526c5)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 01 Mar 2015 23:02:06 +0800 |
parents | 4d7b4c5526c5 |
children | 2fa71c3b2827 10f198d4a308 |
line wrap: on
line diff
--- a/session.h Sun Mar 01 21:16:09 2015 +0800 +++ b/session.h Sun Mar 01 23:02:06 2015 +0800 @@ -126,7 +126,10 @@ 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 */