diff options
author | lloyd <[email protected]> | 2012-08-06 15:59:50 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-08-06 15:59:50 +0000 |
commit | 5c35bdbb373a5db27299e64abf906409699a1adb (patch) | |
tree | ce165aaeab3cb7792c896c239e9b36d1c80aca99 /src/tls/msg_server_hello.cpp | |
parent | 45f6afea689eba9a1d3cc3703c2b4250495d4b96 (diff) |
Expose Handshake_Message as an API type.
Use override as appropriate in tls_messages.h
Add a callback to Handshake_State which, if set, is called for each
Handshake_Message& as it is received or sent. Not yet exposed at the
application level.
Use default values in client and server hellos to minimize the need
for explicit settings in constructors.
Diffstat (limited to 'src/tls/msg_server_hello.cpp')
-rw-r--r-- | src/tls/msg_server_hello.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tls/msg_server_hello.cpp b/src/tls/msg_server_hello.cpp index 8d151b2b0..941fee8e4 100644 --- a/src/tls/msg_server_hello.cpp +++ b/src/tls/msg_server_hello.cpp @@ -55,10 +55,6 @@ Server_Hello::Server_Hello(Handshake_IO& io, */ Server_Hello::Server_Hello(const std::vector<byte>& buf) { - m_secure_renegotiation = false; - m_supports_session_ticket = false; - m_next_protocol = false; - if(buf.size() < 38) throw Decoding_Error("Server_Hello: Packet corrupted"); |