diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/tls_server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/examples/tls_server.cpp b/doc/examples/tls_server.cpp index 62bc8fadc..eff3a3c3c 100644 --- a/doc/examples/tls_server.cpp +++ b/doc/examples/tls_server.cpp @@ -64,6 +64,8 @@ int main(int argc, char* argv[]) Server_TLS_Policy policy; + TLS_Session_Manager_In_Memory sessions; + while(true) { try { @@ -76,6 +78,7 @@ int main(int argc, char* argv[]) TLS_Server tls( std::tr1::bind(&Socket::write, std::tr1::ref(sock), _1, _2), proc_data, + sessions, policy, rng, cert, |