aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_server.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-03 16:12:15 +0000
committerlloyd <[email protected]>2012-01-03 16:12:15 +0000
commit8c42c67e14111f0c259224d0ef22128bcfff0b28 (patch)
tree8923808edc400bc7b4dafb8aa08ec0027377a0fb /src/tls/tls_server.h
parent5c00cc7305718fe209757142f7a43b711cccd8f9 (diff)
Make handshake completion function non-optional. Now returns a bool
specifying if the session should be saved to the session cache.
Diffstat (limited to 'src/tls/tls_server.h')
-rw-r--r--src/tls/tls_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_server.h b/src/tls/tls_server.h
index e07f89eba..b08d3f7e8 100644
--- a/src/tls/tls_server.h
+++ b/src/tls/tls_server.h
@@ -26,7 +26,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,
- std::tr1::function<void (const TLS_Session&)> handshake_complete,
+ std::tr1::function<bool (const TLS_Session&)> handshake_complete,
TLS_Session_Manager& session_manager,
Credentials_Manager& creds,
const TLS_Policy& policy,