From f63a0d5463a1c8fc4bba8defc47cde6f4e752491 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 25 Mar 2010 18:55:53 +0000 Subject: Remove the bits for supporting compression - it was never actually supported, and compression can come later on when the overall architecture is more solid/stable. --- src/ssl/tls_record.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/ssl/tls_record.h') diff --git a/src/ssl/tls_record.h b/src/ssl/tls_record.h index fa6ed2d17..358051b35 100644 --- a/src/ssl/tls_record.h +++ b/src/ssl/tls_record.h @@ -30,24 +30,23 @@ class BOTAN_DLL Record_Writer void alert(Alert_Level, Alert_Type); void set_keys(const CipherSuite&, const SessionKeys&, Connection_Side); - void set_compressor(Filter*); void set_version(Version_Code); void reset(); - Record_Writer(Socket&); + Record_Writer(Socket& socket); + private: void send_record(byte, const byte[], u32bit); void send_record(byte, byte, byte, const byte[], u32bit); Socket& socket; - Pipe compress, cipher, mac; + Pipe cipher, mac; SecureVector buffer; u32bit pad_amount, mac_size, buf_pos; u64bit seq_no; byte major, minor, buf_type; - bool do_compress; }; /** @@ -72,8 +71,6 @@ class BOTAN_DLL Record_Reader const SessionKeys& keys, Connection_Side side); - void set_compressor(Filter* compressor); - void set_version(Version_Code version); void reset(); @@ -82,11 +79,10 @@ class BOTAN_DLL Record_Reader private: SecureQueue input_queue; - Pipe compress, cipher, mac; + Pipe cipher, mac; u32bit pad_amount, mac_size; u64bit seq_no; byte major, minor; - bool do_compress; }; } -- cgit v1.2.3