summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-03-01 00:57:21 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-03-01 00:57:21 +0800
commite65c9c75dc0efb9bbf8f7e292e4ba5532e31ae81 (patch)
treedfcc10546a64f523ab760ee08f0cfb2a0056d696 /session.h
parent8b562aec18e068fb233cba8826a7a398e9157815 (diff)
downloaddropbear-e65c9c75dc0efb9bbf8f7e292e4ba5532e31ae81.tar.gz
A bit of a bodge to avoid memcpy if zlib is disabled
Diffstat (limited to 'session.h')
-rw-r--r--session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.h b/session.h
index 85dba3b..0780d51 100644
--- a/session.h
+++ b/session.h
@@ -127,6 +127,7 @@ struct sshsession {
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 */
+ unsigned int payload_beginning;
unsigned int transseq, recvseq; /* Sequence IDs */
/* Packet-handling flags */