aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_handshake_state.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-03-07 01:24:19 +0000
committerlloyd <[email protected]>2012-03-07 01:24:19 +0000
commit7371f7c59ae722769fbc0dc810583a0cd0e38877 (patch)
tree6270901abc28e8f436d8f6cf119e20d74861b622 /src/tls/tls_handshake_state.h
parent4e427ceb1518e3a0fb978717a4ec0c7d174b68d5 (diff)
Add SecureQueue::empty
Hide the handshake reader behind a function. Add pieces for DTLS hello verify request message
Diffstat (limited to 'src/tls/tls_handshake_state.h')
-rw-r--r--src/tls/tls_handshake_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_handshake_state.h b/src/tls/tls_handshake_state.h
index 0c1ff6ddb..206e19096 100644
--- a/src/tls/tls_handshake_state.h
+++ b/src/tls/tls_handshake_state.h
@@ -91,8 +91,6 @@ class Handshake_State
Session_Keys keys;
Handshake_Hash hash;
- Handshake_Reader* handshake_reader;
-
/*
* Only used by clients for session resumption
*/
@@ -103,7 +101,9 @@ class Handshake_State
*/
std::tr1::function<std::string (std::vector<std::string>)> client_npn_cb;
+ Handshake_Reader* handshake_reader() { return m_handshake_reader; }
private:
+ Handshake_Reader* m_handshake_reader;
u32bit hand_expecting_mask, hand_received_mask;
Protocol_Version m_version;
};