comparison 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
comparison
equal deleted inserted replaced
1057:16584026a1f0 1059:703c7cdd2577
124 buffer *writepayload; /* Unencrypted payload to write - this is used 124 buffer *writepayload; /* Unencrypted payload to write - this is used
125 throughout the code, as handlers fill out this 125 throughout the code, as handlers fill out this
126 buffer with the packet to send. */ 126 buffer with the packet to send. */
127 struct Queue writequeue; /* A queue of encrypted packets to send */ 127 struct Queue writequeue; /* A queue of encrypted packets to send */
128 buffer *readbuf; /* From the wire, decrypted in-place */ 128 buffer *readbuf; /* From the wire, decrypted in-place */
129 buffer *payload; /* Post-decompression, the actual SSH packet */ 129 buffer *payload; /* Post-decompression, the actual SSH packet.
130 May have extra data at the beginning, will be
131 passed to packet processing functions positioned past
132 that, see payload_beginning */
130 unsigned int payload_beginning; 133 unsigned int payload_beginning;
131 unsigned int transseq, recvseq; /* Sequence IDs */ 134 unsigned int transseq, recvseq; /* Sequence IDs */
132 135
133 /* Packet-handling flags */ 136 /* Packet-handling flags */
134 const packettype * packettypes; /* Packet handler mappings for this 137 const packettype * packettypes; /* Packet handler mappings for this