aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_client.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_client.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_client.h')
-rw-r--r--src/tls/tls_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_client.h b/src/tls/tls_client.h
index 543dda144..eb2a281f8 100644
--- a/src/tls/tls_client.h
+++ b/src/tls/tls_client.h
@@ -34,7 +34,7 @@ class BOTAN_DLL TLS_Client : public TLS_Channel
*/
TLS_Client(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,