aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_server.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-23 20:23:03 +0000
committerlloyd <[email protected]>2011-12-23 20:23:03 +0000
commitf5c863cf97ea11876acad3c46fffca23685698aa (patch)
tree5537f5c843602f136f6eb1835d8679c9ae67009e /src/tls/tls_server.h
parent61d461d0a5fb63c3aee906c76b4aefe3335a7591 (diff)
Initial hooks for session resumption
Diffstat (limited to 'src/tls/tls_server.h')
-rw-r--r--src/tls/tls_server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tls/tls_server.h b/src/tls/tls_server.h
index e975071d2..a1f99a0ff 100644
--- a/src/tls/tls_server.h
+++ b/src/tls/tls_server.h
@@ -9,6 +9,7 @@
#define BOTAN_TLS_SERVER_H__
#include <botan/tls_channel.h>
+#include <botan/tls_session_state.h>
#include <vector>
namespace Botan {
@@ -28,6 +29,7 @@ class BOTAN_DLL TLS_Server : public TLS_Channel
*/
TLS_Server(std::tr1::function<void (const byte[], size_t)> socket_output_fn,
std::tr1::function<void (const byte[], size_t, u16bit)> proc_fn,
+ TLS_Session_Manager& session_manager,
const TLS_Policy& policy,
RandomNumberGenerator& rng,
const X509_Certificate& cert,
@@ -47,6 +49,7 @@ class BOTAN_DLL TLS_Server : public TLS_Channel
const TLS_Policy& policy;
RandomNumberGenerator& rng;
+ TLS_Session_Manager& session_manager;
std::vector<X509_Certificate> cert_chain;
Private_Key* private_key;