aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_session_key.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-27 17:57:27 +0000
committerlloyd <[email protected]>2011-12-27 17:57:27 +0000
commit38ea0ba913135a908419fd64611cba84dc0299ca (patch)
treea2ee6dcc6c176d6dd52dcfb59a464b84452aa76a /src/tls/tls_session_key.h
parentfa5529e90a5e6cc48cca7669018d574802e13f08 (diff)
First rev of working session resumption (server side only). Only works
with TLS at the moment, SessionKeys is a mess.
Diffstat (limited to 'src/tls/tls_session_key.h')
-rw-r--r--src/tls/tls_session_key.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tls_session_key.h b/src/tls/tls_session_key.h
index f0e185bd8..182d83c21 100644
--- a/src/tls/tls_session_key.h
+++ b/src/tls/tls_session_key.h
@@ -37,7 +37,8 @@ class BOTAN_DLL SessionKeys
Version_Code version,
const MemoryRegion<byte>& pre_master,
const MemoryRegion<byte>& client_random,
- const MemoryRegion<byte>& server_random);
+ const MemoryRegion<byte>& server_random,
+ bool resuming = false);
private:
SymmetricKey ssl3_keygen(size_t, const MemoryRegion<byte>&,