aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_record.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-27 20:33:49 +0000
committerlloyd <[email protected]>2011-12-27 20:33:49 +0000
commit065187289ea2c47f507b99a429dcf62a19d48f30 (patch)
tree7735059a428794f317489960d5e9f5afebde4631 /src/tls/tls_record.h
parent1bfd053969280ee6228f5579b2e2f1ff3cbcf0a5 (diff)
Make tls_session_key.h an internal header
Diffstat (limited to 'src/tls/tls_record.h')
-rw-r--r--src/tls/tls_record.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/tls/tls_record.h b/src/tls/tls_record.h
index 6d5dd057d..9744c6484 100644
--- a/src/tls/tls_record.h
+++ b/src/tls/tls_record.h
@@ -8,7 +8,6 @@
#ifndef BOTAN_TLS_RECORDS_H__
#define BOTAN_TLS_RECORDS_H__
-#include <botan/tls_session_key.h>
#include <botan/tls_suites.h>
#include <botan/pipe.h>
#include <botan/mac.h>
@@ -33,6 +32,8 @@ namespace Botan {
using namespace std::tr1::placeholders;
+class SessionKeys;
+
/**
* TLS Record Writer
*/
@@ -44,11 +45,13 @@ class BOTAN_DLL Record_Writer
void flush();
- void alert(Alert_Level, Alert_Type);
+ void alert(Alert_Level level, Alert_Type type);
- void set_keys(const CipherSuite&, const SessionKeys&, Connection_Side);
+ void set_keys(const CipherSuite& suite,
+ const SessionKeys& keys,
+ Connection_Side side);
- void set_version(Version_Code);
+ void set_version(Version_Code version);
void reset();