diff options
author | lloyd <[email protected]> | 2011-12-30 20:20:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-30 20:20:42 +0000 |
commit | deb92d7f6d43206c04f332625d6b1e1a2abc444d (patch) | |
tree | 06c331d7f51071750091e013c6f853c015eacd18 /src/tls/tls_server.h | |
parent | 766f5eeb5c99936e7ddcf3e4c82095f087b6e928 (diff) |
Add a function for getting the version number of an active connection.
Add a new callback that is called with the session info when a
handshake completes. Currently only called on the server side as
the client doesn't have session resumption yet.
Rename CipherSuite to TLS_Cipher_Suite.
Diffstat (limited to 'src/tls/tls_server.h')
-rw-r--r-- | src/tls/tls_server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tls/tls_server.h b/src/tls/tls_server.h index 45e25f0f9..16c6f8e3e 100644 --- a/src/tls/tls_server.h +++ b/src/tls/tls_server.h @@ -29,6 +29,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_Params&)> handshake_complete, TLS_Session_Manager& session_manager, const TLS_Policy& policy, RandomNumberGenerator& rng, |