aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/tls_record.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-25 18:55:53 +0000
committerlloyd <[email protected]>2010-03-25 18:55:53 +0000
commitf63a0d5463a1c8fc4bba8defc47cde6f4e752491 (patch)
tree3a0a494c616303f2ad5b8db9e5c94e992f843566 /src/ssl/tls_record.h
parentfb051970ae774b67120fceba6af36030f6388270 (diff)
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.
Diffstat (limited to 'src/ssl/tls_record.h')
-rw-r--r--src/ssl/tls_record.h12
1 files changed, 4 insertions, 8 deletions
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<byte> 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;
};
}