diff options
author | Jack Lloyd <[email protected]> | 2018-01-21 14:00:12 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-01-27 09:43:14 -0500 |
commit | dd960f0a5e34ec4b0319c8069fb1ccb58ef8c901 (patch) | |
tree | 4141982ddd71262d5e66e791a5ddf238db69df30 /src/lib/tls/msg_client_hello.cpp | |
parent | 936da0514b06b341e6fab372477e32c90df05d57 (diff) |
Add an examine callback also
Diffstat (limited to 'src/lib/tls/msg_client_hello.cpp')
-rw-r--r-- | src/lib/tls/msg_client_hello.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/msg_client_hello.cpp b/src/lib/tls/msg_client_hello.cpp index 77068a928..68753fa26 100644 --- a/src/lib/tls/msg_client_hello.cpp +++ b/src/lib/tls/msg_client_hello.cpp @@ -142,7 +142,7 @@ Client_Hello::Client_Hello(Handshake_IO& io, m_extensions.add(new Signature_Algorithms(policy.allowed_signature_hashes(), policy.allowed_signature_methods())); - cb.tls_modify_extensions(m_extensions); + cb.tls_modify_extensions(m_extensions, CLIENT); if(policy.send_fallback_scsv(client_settings.protocol_version())) m_suites.push_back(TLS_FALLBACK_SCSV); @@ -206,7 +206,7 @@ Client_Hello::Client_Hello(Handshake_IO& io, if(reneg_info.empty() && !next_protocols.empty()) m_extensions.add(new Application_Layer_Protocol_Notification(next_protocols)); - cb.tls_modify_extensions(m_extensions); + cb.tls_modify_extensions(m_extensions, CLIENT); hash.update(io.send(*this)); } |