aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_handshake_state.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-08-06 12:33:34 +0000
committerlloyd <[email protected]>2012-08-06 12:33:34 +0000
commit43c8e8cc60d1b58a715c81d985f3419548d485ed (patch)
tree73a26958ee380c6fd92407ea54e1fee4986b1467 /src/tls/tls_handshake_state.h
parentadde1ee09300a4dd7a42a6f8e819b8f92ca4a2bd (diff)
Move things that are client specific in the handshake state to a
subclass created by Client::new_handshake_state
Diffstat (limited to 'src/tls/tls_handshake_state.h')
-rw-r--r--src/tls/tls_handshake_state.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/tls/tls_handshake_state.h b/src/tls/tls_handshake_state.h
index 66c1ac113..6710e1ce6 100644
--- a/src/tls/tls_handshake_state.h
+++ b/src/tls/tls_handshake_state.h
@@ -47,7 +47,7 @@ class Handshake_State
public:
Handshake_State(Handshake_IO* io);
- ~Handshake_State();
+ virtual ~Handshake_State();
Handshake_State(const Handshake_State&) = delete;
Handshake_State& operator=(const Handshake_State&) = delete;
@@ -151,21 +151,11 @@ class Handshake_State
Private_Key* server_rsa_kex_key = nullptr; // FIXME make private
/*
- * Only used by clients for session resumption
- */
- secure_vector<byte> resume_master_secret; // FIXME make private
-
- /*
* Used by the server to know if resumption should be allowed on
* a server-initiated renegotiation
*/
bool allow_session_resumption = true; // FIXME make private
- /**
- * Used by client using NPN FIXME make private
- */
- std::function<std::string (std::vector<std::string>)> client_npn_cb;
-
private:
std::unique_ptr<Handshake_IO> m_handshake_io;