From f5c863cf97ea11876acad3c46fffca23685698aa Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 23 Dec 2011 20:23:03 +0000 Subject: Initial hooks for session resumption --- src/tls/tls_server.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tls/tls_server.h') 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 +#include #include namespace Botan { @@ -28,6 +29,7 @@ class BOTAN_DLL TLS_Server : public TLS_Channel */ TLS_Server(std::tr1::function socket_output_fn, std::tr1::function 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 cert_chain; Private_Key* private_key; -- cgit v1.2.3