Fix pubkey auth after change to reuse ses.readbuf as ses.payload

(4d7b4c5526c5)

--HG--
branch : nocircbuffer
This commit is contained in:
Matt Johnston
2015-03-01 23:02:06 +08:00
parent f367273549
commit f782cf375a
2 changed files with 15 additions and 2 deletions

View File

@@ -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 */