diff options
author | lloyd <[email protected]> | 2012-09-12 14:48:49 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-12 14:48:49 +0000 |
commit | 2487eea15d7f36ac68299d65c0cffe92c59359ab (patch) | |
tree | 6c95837235b3e8b91048dfc88365590ed15bfccb /src | |
parent | d32f4b6e3559223ce7b06e1c4f37f551d414f9ac (diff) |
Duplicated extension checks!
Diffstat (limited to 'src')
-rw-r--r-- | src/tls/msg_client_hello.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tls/msg_client_hello.cpp b/src/tls/msg_client_hello.cpp index ca10cab85..440389ea1 100644 --- a/src/tls/msg_client_hello.cpp +++ b/src/tls/msg_client_hello.cpp @@ -319,11 +319,6 @@ void Client_Hello::deserialize(const std::vector<byte>& buf) m_supported_algos = sigs->supported_signature_algorthms(); } - if(Maximum_Fragment_Length* frag = extensions.get<Maximum_Fragment_Length>()) - { - m_fragment_size = frag->fragment_size(); - } - if(Session_Ticket* ticket = extensions.get<Session_Ticket>()) { m_supports_session_ticket = true; @@ -336,13 +331,6 @@ void Client_Hello::deserialize(const std::vector<byte>& buf) m_peer_can_send_heartbeats = hb->peer_allowed_to_send(); } - if(Renegotation_Extension* reneg = extensions.get<Renegotation_Extension>()) - { - // checked by TLS_Client / TLS_Server as they know the handshake state - m_secure_renegotiation = true; - m_renegotiation_info = reneg->renegotiation_info(); - } - if(value_exists(m_suites, static_cast<u16bit>(TLS_EMPTY_RENEGOTIATION_INFO_SCSV))) { /* |