diff options
author | lloyd <[email protected]> | 2012-04-06 16:43:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-04-06 16:43:24 +0000 |
commit | e91b91578a483a23bd491149d3dd21079c4a27d1 (patch) | |
tree | edec04f11a61140f1199ab1bb2436e3297bb89ca /doc/examples/asio_tls_server.cpp | |
parent | 45396449cd84326626c09e48af74ccb008a0aefc (diff) |
Finish up server side SRP support, a little ugly but it works.
Add SRP hooks in the examples
Fix next protocol support in the tls_server example.
Diffstat (limited to 'doc/examples/asio_tls_server.cpp')
-rw-r--r-- | doc/examples/asio_tls_server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/examples/asio_tls_server.cpp b/doc/examples/asio_tls_server.cpp index 5c606a3f2..e721d0455 100644 --- a/doc/examples/asio_tls_server.cpp +++ b/doc/examples/asio_tls_server.cpp @@ -215,6 +215,11 @@ class Session_Manager_Locked : public Botan::TLS::Session_Manager m_session_manager.save(session); } + Botan::u32bit session_lifetime() const + { + return m_session_manager.session_lifetime(); + } + private: boost::mutex m_mutex; Botan::TLS::Session_Manager_In_Memory m_session_manager; |