Commit 76d903e6 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/read_packet.h:1.2
Rev: src/session.h:1.2
parent 662e8661
...@@ -13,12 +13,19 @@ struct read_packet ...@@ -13,12 +13,19 @@ struct read_packet
int state; int state;
UINT32 max_packet; UINT32 max_packet;
UINT32 sequence_number; /* Attached to read packets */
/* Buffer partial headers and packets. */ /* Buffer partial headers and packets. */
UINT32 pos; UINT32 pos;
struct lsh_string *buffer; struct lsh_string *buffer;
UINT32 crypt_pos;
struct mac_instance mac;
struct crypto_instance crypt;
struct mac_instance; UINT8 *computed_mac; /* Must point to an area large enough to hold a mac */
struct crypto_instance;
struct abstract_write *handler;
}; };
#endif /* LSH_READ_PACKET_H_INCLUDED */ #endif /* LSH_READ_PACKET_H_INCLUDED */
...@@ -13,6 +13,9 @@ struct session ...@@ -13,6 +13,9 @@ struct session
struct lsh_string *session_id; struct lsh_string *session_id;
struct abstract_write write; /* Socket connected to the other end */ struct abstract_write write; /* Socket connected to the other end */
int provides_privacy;
int provides_integrity;
}; };
#endif /* LSH_SESSION_H_INCLUDED */ #endif /* LSH_SESSION_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment