aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_handshake_state.h
diff options
context:
space:
mode:
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;