diff options
Diffstat (limited to 'src/tls/tls_handshake_state.h')
-rw-r--r-- | src/tls/tls_handshake_state.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tls/tls_handshake_state.h b/src/tls/tls_handshake_state.h index 8fc9cc89e..66c1ac113 100644 --- a/src/tls/tls_handshake_state.h +++ b/src/tls/tls_handshake_state.h @@ -143,11 +143,13 @@ class Handshake_State void compute_session_keys(const secure_vector<byte>& resume_master_secret); + Handshake_Hash& hash() { return m_handshake_hash; } + + const Handshake_Hash& hash() const { return m_handshake_hash; } + // Used by the server only, in case of RSA key exchange Private_Key* server_rsa_kex_key = nullptr; // FIXME make private - Handshake_Hash hash; // FIXME make private - /* * Only used by clients for session resumption */ @@ -172,6 +174,7 @@ class Handshake_State Protocol_Version m_version; Ciphersuite m_ciphersuite; Session_Keys m_session_keys; + Handshake_Hash m_handshake_hash; std::unique_ptr<Client_Hello> m_client_hello; std::unique_ptr<Server_Hello> m_server_hello; |