From 2920f1be500d53414b863ec61ca9c2008336479f Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 30 Dec 2011 20:35:27 +0000 Subject: Rename the session type to 'TLS_Session'. Split the manager out into its own file. Rename tls_state to tls_handshake_state. --- doc/examples/tls_server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/examples/tls_server.cpp') diff --git a/doc/examples/tls_server.cpp b/doc/examples/tls_server.cpp index 0710c35f9..d9334c47e 100644 --- a/doc/examples/tls_server.cpp +++ b/doc/examples/tls_server.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include @@ -15,7 +16,7 @@ using namespace Botan; #include #include -void handshake_complete(const TLS_Session_Params& session) +void handshake_complete(const TLS_Session& session) { printf("Handshake complete, protocol=%04X ciphersuite=%04X compression=%d\n", session.version(), session.ciphersuite(), -- cgit v1.2.3